Click here to Skip to main content
11,414,234 members (71,934 online)
   

Java

 
GeneralRe: Disadvantages of JAVA in Network Programming Pin
irfanulla sharieff, 29-Jan-13 22:57
memberirfanulla sharieff29-Jan-13 22:57 
AnswerRe: Disadvantages of JAVA in Network Programming Pin
pasztorpisti, 30-Jan-13 15:22
memberpasztorpisti30-Jan-13 15:22 
QuestionUnable to load an android application in the emulator Pin
Padma4u, 27-Jan-13 21:07
memberPadma4u27-Jan-13 21:07 
AnswerRe: Unable to load an android application in the emulator Pin
Member 8595488, 27-Jan-13 22:25
memberMember 859548827-Jan-13 22:25 
AnswerRe: Unable to load an android application in the emulator Pin
irfanulla sharieff, 28-Jan-13 17:26
memberirfanulla sharieff28-Jan-13 17:26 
GeneralRe: Unable to load an android application in the emulator (Solved) Pin
Padma4u, 29-Jan-13 2:46
memberPadma4u29-Jan-13 2:46 
Questionggg Pin
mary joy ortega, 26-Jan-13 7:44
membermary joy ortega26-Jan-13 7:44 
QuestionAssistance with helper method please? Pin
kurt1, 26-Jan-13 7:09
memberkurt126-Jan-13 7:09 
Hi,
I have recently read a book by David Brackeen called 'Developing Games in Java'. I understand the code in the book and am currently modifying the game engine however; I have come across a problem whilst trying to create the player inventory.

I am using code in beanshell scripts to update objects in the game and looking through different scripts by David Brackeen I came across this code, ’player.getInventory().setRedKey(true);’. I understand it means ‘if the player object’s inventory does not have the red key after a red key collision, add the key to the inventory’.

My question is how would I write this code into my netbeans IDE (so it is recognised in the script) as nesting the ‘setRedKey(Boolean)’ brings up errors when I put it in the ‘getInventory()’ helper method of my GameObject class.
AnswerRe: Assistance with helper method please? Pin
Richard MacCutchan, 27-Jan-13 23:51
mvpRichard MacCutchan27-Jan-13 23:51 
GeneralRe: Assistance with helper method please? Pin
kurt1, 28-Jan-13 9:34
memberkurt128-Jan-13 9:34 
QuestionJ2EE Pin
MaddyHanagal, 23-Jan-13 20:26
memberMaddyHanagal23-Jan-13 20:26 
AnswerRe: J2EE Pin
Richard MacCutchan, 24-Jan-13 0:03
mvpRichard MacCutchan24-Jan-13 0:03 
QuestionJava Security Pin
TNCaver, 23-Jan-13 4:57
memberTNCaver23-Jan-13 4:57 
AnswerRe: Java Security Pin
Richard MacCutchan, 23-Jan-13 6:07
mvpRichard MacCutchan23-Jan-13 6:07 
QuestionException Pin
IICTECH, 23-Jan-13 2:38
memberIICTECH23-Jan-13 2:38 
AnswerRe: Exception Pin
Richard MacCutchan, 23-Jan-13 3:24
mvpRichard MacCutchan23-Jan-13 3:24 
GeneralRe: Exception Pin
IICTECH, 24-Jan-13 2:02
memberIICTECH24-Jan-13 2:02 
GeneralRe: Exception Pin
cubocik, 29-Jan-13 2:49
membercubocik29-Jan-13 2:49 
QuestionHibernate Pin
sathish coder, 22-Jan-13 2:07
membersathish coder22-Jan-13 2:07 
AnswerRe: Hibernate Pin
Sandeep Mewara, 22-Jan-13 3:37
mvpSandeep Mewara22-Jan-13 3:37 
AnswerRe: Hibernate Pin
Sultan Akyol, 22-Jan-13 10:25
memberSultan Akyol22-Jan-13 10:25 
AnswerRe: Hibernate Pin
GREG_DORIANcod, 25-Jan-13 12:48
memberGREG_DORIANcod25-Jan-13 12:48 
QuestionFor Java Project Pin
sakurahito, 18-Jan-13 18:42
membersakurahito18-Jan-13 18:42 
AnswerRe: For Java Project Pin
Richard MacCutchan, 19-Jan-13 0:00
mvpRichard MacCutchan19-Jan-13 0:00 
AnswerRe: For Java Project Pin
cubocik, 22-Jan-13 3:08
membercubocik22-Jan-13 3:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150427.2 | Last Updated 26 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid