Here's the codes as they appear right now
MyWorld: http://pastebin.com/pLZHp2E0
LifeCounter: http://pastebin.com/3mDEWxCr
Rock: http://pastebin.com/h111MbN3
Here's the codes as they appear right now
MyWorld: http://pastebin.com/pLZHp2E0
LifeCounter: http://pastebin.com/3mDEWxCr
Rock: http://pastebin.com/h111MbN3
It would be better for you to copy/paste the code into the code-box using the 'code' tag below the 'Post a reply' input box. Or, you could just upload the scenario onto this site checking the 'Publish source code' checkbox.
Click the 'Share' button near the top-right corner of the greenfoot application window. Open the'Publish' tab, fill in the appropriate info, check the appropriate boxes, adjust your screenshot, enter your site password and click on the 'Share' button.
Alright, where is it you are trying to get the lifeCounter object in the Rock class code? Show the code you were trying when you got the error 'cannot find lifeCounter'.