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

2013/4/22

Global variables

mattjames mattjames

2013/4/22

#
Hi again. I was wondering how you create a variable that can be used by all actors, or if a normal public variable will do. Thanks.
danpost danpost

2013/4/22

#
Exactly what scope to you want this variable to have? Are all actors that use it of the same sub-class of Actor? or just actors? Does the world need access also?
You need to login to post a reply.