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
Oneshot
wrote ...
2012/1/15
How to edit a variable of another class
Oneshot
2012/1/15
#
Hey, does anyone know, how to read / edit the variable of another class?
As Example:
A method in world has to read the variable in the class Player. Best Regards
Duta
2012/1/15
#
See part of my answer to http://www.greenfoot.org/topics/745
davmac
2012/1/15
#
There's also a
tutorial
on this topic, which is part of the
documentation
.
Duta
2012/1/15
#
:L I didn't know that, having never read the documentation myself... looks useful though
You need to login to post a reply.
X