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

2015/1/25

Does the world classes update integers within it every second?

Sam146 Sam146

2015/1/25

#
I am having trouble with my world class, the constructer given does it update or does it only load when you compile?
Super_Hippo Super_Hippo

2015/1/25

#
It doesn't "update". It is called once when the click on compile or reset (or when you call the constructor manually). It creates the world. If you want something to be executed all the time, place it in the act method.
Sam146 Sam146

2015/1/25

#
thanks really helps
You need to login to post a reply.