Class Crab

java.lang.Object
  extended by greenfoot.Actor
      extended by Animal
          extended by Crab

public class Crab
extends Animal

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

Crab

public Crab()
Method Detail

act

public void act()
Description copied from class: Animal
Act - empty method. Animals have no default action.

Overrides:
act in class Animal