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

2013/12/5

Score System

alagon alagon

2013/12/5

#
I know this is being posted a lot...but... Im trying to increase a variable in another class without creating a new class every time. My class that im trying to increase the variable class is the bomb and the score system...Score i guess. Currently what im using is:
getWorld().addObject(new Score(1), 500, 200);
(I use a method that takes the score and adds it to the already existing score.)
You need to login to post a reply.