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

2014/11/17

How to end the game when a score reaches a certain number?

1
2
Dr_Diabetes Dr_Diabetes

2014/11/17

#
haha, I changed up everything from what I originally asked...
danpost danpost

2014/11/17

#
You need to call 'gameOver' on your World object, not your World class. In other words, you need to get the world as a Sky object in line 6 just like you did in lines 3 and 4.
brownie8892 brownie8892

2015/4/16

#
Dr_Diabetes
Dr_Diabetes wrote...
It highlights .gameOver and says "non-static method gameOver() cannot be referrenced from a static context:"
did you ever finish this?? could you zip and post? im stuck on the same problem. I have everything but my Counter somehow is keeping track of my Timer which is private in the Sky.... any help?????
You need to login to post a reply.
1
2