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

2020/4/7

HELP

hhh hhh

2020/4/7

#
its saying that this isnt a statment:public boolean isOnsolidGround() { getY() > getWorld().getHight() - 50; how do i fix this
Kostya20052011 Kostya20052011

2020/4/7

#
The signs ==,>, < are only used in if. You also, if you want to check this condition it is necessary to do so: boolean z; z = getY() > getWorld().getHeight () -50;
You need to login to post a reply.