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

2020/5/18

how do i remove an object at the worlds edge

ninjapuffin ninjapuffin

2020/5/18

#
can someone help me remove a hawk at the worlds edge
ninjapuffin ninjapuffin

2020/5/18

#
this is the code in the hawk class
1
2
3
4
if(atWorldEdge())
        {
            removeObject​(this);
        }
danpost danpost

2020/5/19

#
ninjapuffin wrote...
can someone help me remove a hawk at the worlds edge this is the code in the hawk class << Code Omitted >>
Line 3 should start with "getWorld()."
ninjapuffin ninjapuffin

2020/5/19

#
okay let me try that out
ninjapuffin ninjapuffin

2020/5/19

#
thanks danpost
You need to login to post a reply.