Click here to Skip to main content
12,693,693 members (36,600 online)


GeneralRe: Disadvantages of JAVA in Network Programming Pin
irfanulla sharieff29-Jan-13 22:57
memberirfanulla sharieff29-Jan-13 22:57 
AnswerRe: Disadvantages of JAVA in Network Programming Pin
pasztorpisti30-Jan-13 15:22
memberpasztorpisti30-Jan-13 15:22 
QuestionUnable to load an android application in the emulator Pin
Padma4u27-Jan-13 21:07
memberPadma4u27-Jan-13 21:07 
AnswerRe: Unable to load an android application in the emulator Pin
Member 859548827-Jan-13 22:25
memberMember 859548827-Jan-13 22:25 
AnswerRe: Unable to load an android application in the emulator Pin
irfanulla sharieff28-Jan-13 17:26
memberirfanulla sharieff28-Jan-13 17:26 
GeneralRe: Unable to load an android application in the emulator (Solved) Pin
Padma4u29-Jan-13 2:46
memberPadma4u29-Jan-13 2:46 
Questionggg Pin
mary joy ortega26-Jan-13 7:44
membermary joy ortega26-Jan-13 7:44 
QuestionAssistance with helper method please? Pin
kurt126-Jan-13 7:09
memberkurt126-Jan-13 7:09 
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 MacCutchan27-Jan-13 23:51
mvpRichard MacCutchan27-Jan-13 23:51 
GeneralRe: Assistance with helper method please? Pin
kurt128-Jan-13 9:34
memberkurt128-Jan-13 9:34 
QuestionJ2EE Pin
MaddyHanagal23-Jan-13 20:26
memberMaddyHanagal23-Jan-13 20:26 
AnswerRe: J2EE Pin
Richard MacCutchan24-Jan-13 0:03
mvpRichard MacCutchan24-Jan-13 0:03 
QuestionJava Security Pin
TNCaver23-Jan-13 4:57
memberTNCaver23-Jan-13 4:57 
AnswerRe: Java Security Pin
Richard MacCutchan23-Jan-13 6:07
mvpRichard MacCutchan23-Jan-13 6:07 
QuestionException Pin
IICTECH23-Jan-13 2:38
memberIICTECH23-Jan-13 2:38 
AnswerRe: Exception Pin
Richard MacCutchan23-Jan-13 3:24
mvpRichard MacCutchan23-Jan-13 3:24 
GeneralRe: Exception Pin
IICTECH24-Jan-13 2:02
memberIICTECH24-Jan-13 2:02 
GeneralRe: Exception Pin
cubocik29-Jan-13 2:49
membercubocik29-Jan-13 2:49 
QuestionHibernate Pin
sathish coder22-Jan-13 2:07
membersathish coder22-Jan-13 2:07 
AnswerRe: Hibernate Pin
Sandeep Mewara22-Jan-13 3:37
mvpSandeep Mewara22-Jan-13 3:37 
AnswerRe: Hibernate Pin
Sultan Akyol22-Jan-13 10:25
memberSultan Akyol22-Jan-13 10:25 
AnswerRe: Hibernate Pin
GREG_DORIANcod25-Jan-13 12:48
memberGREG_DORIANcod25-Jan-13 12:48 
QuestionFor Java Project Pin
sakurahito18-Jan-13 18:42
membersakurahito18-Jan-13 18:42 
AnswerRe: For Java Project Pin
Richard MacCutchan19-Jan-13 0:00
mvpRichard MacCutchan19-Jan-13 0:00 
AnswerRe: For Java Project Pin
cubocik22-Jan-13 3:08
membercubocik22-Jan-13 3:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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
Web01 | 2.8.170118.1 | Last Updated 18 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid