Critter class, the third and fourth from the Cell
class.
public void turn(int angle)public boolean contains(int x, int y)public, protected,
and static.
For now the only one that will matter is static; this
says that the method is a static method rather than an instance
method (the default).
void appears.
The contains method returns something of type
boolean, that is, either true
or false.
contains
method are both ints.
turn method:
step method:
return followed by an
expression that specifies the value to be returned.
See the contains and addDirections methods
above.