if I wanted to create a method named cannotMove, by using if atWorldEdge and canSee(crab.class). How would I go about this so that cannotMove returns true when one or the other is invoked?
public boolean cannotMove()
{
return (atWorldEdge() || canSee(crab.class));
}