java.lang.Objectgreenfoot.Actor
Animal
Crab
public class Crab
This class defines a crab. Crabs live on the beach.
| Constructor Summary | |
|---|---|
Crab()
|
|
| Method Summary | |
|---|---|
void |
act()
Act - empty method. |
| Methods inherited from class Animal |
|---|
atWorldEdge, canSee, eat, move, turn |
| Methods inherited from class greenfoot.Actor |
|---|
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, turnTowards |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Crab()
| Method Detail |
|---|
public void act()
Animal
act in class Animal