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
SimpleJack
wrote ...
2012/10/18
Really basic question...
SimpleJack
2012/10/18
#
I Have two actors, Hero and CPU Hero has an int variable called HeroHP and the CPU actor has one called CPUHP, how can I read the CPUHP data in the hero class?
SPower
2012/10/18
#
Well, you first need an object of the CPU and then you can access it.
SimpleJack
2012/10/18
#
how does one go about doing that? and will the data be lost when traveling to a different world?
You need to login to post a reply.
X