This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
mattjames
wrote ...
2013/4/22
Global variables
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
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.
X