This site requires JavaScript, please enable it in your browser!
Greenfoot back
Stephon231
Stephon231 wrote ...

2012/10/1

Store

Stephon231 Stephon231

2012/10/1

#
how can you make an actor(Man) able to "buy" objects(bombs and food) with money that he had got during the rest of the game then be able to use them
erdelf erdelf

2012/10/1

#
make a static variable for the money, and variables for #bombs and #food. Then make a button in the store, with methods that removes money and adds objects. During game, check the variables for the objects if the method for using them is called.
You need to login to post a reply.