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

2015/3/24

How do I change a variable in a class from a different class?

SioneF 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 danpost

2015/3/24

#
The Greenfoot tutorials has a how-to on this -- here.
SioneF SioneF

2015/3/24

#
I still dont understand, please can you post some simple coding examples?
Super_Hippo Super_Hippo

2015/3/24

#
Did you read AND do what is written in the tutorial?
You need to login to post a reply.