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
SioneF
wrote ...
2015/3/24
How do I change a variable in a class from a different class?
SioneF
2015/3/24
#
How do I change a variable in a class from a different class? So an actor class has a counter variable which is set to one. How do I set that counter variable to a different value from another actor class?
danpost
2015/3/24
#
The Greenfoot tutorials has a how-to on this --
here
.
SioneF
2015/3/24
#
I still dont understand, please can you post some simple coding examples?
Super_Hippo
2015/3/24
#
Did you read AND do what is written in the tutorial?
You need to login to post a reply.
X