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
MrKryptus
wrote ...
2017/10/7
Remove Object
MrKryptus
2017/10/7
#
Hi there. I want to remove an object when I press space. Someone an Idea?
Recorsi
2017/10/7
#
if (Greenfoot.isKeyDown("space")) { getWorld().removeObject(this); }
MrKryptus
2017/10/7
#
Recorsi wrote...
if (Greenfoot.isKeyDown("space")) { getWorld().removeObject(this); }
thanks
You need to login to post a reply.
X