Class Person

java.lang.Object
  extended by greenfoot.Actor
      extended by Person

public class Person
extends greenfoot.Actor

Write a description of class Person here.

Version:
(a version number or a date)
Author:
(your name)

Field Summary
 int moveAmt
           
 
Constructor Summary
Person()
           
 
Method Summary
 void act()
          Act - do whatever the Person wants to do.
 void moveDown()
           
 void moveLeft()
           
 void moveOnKeyPress()
           
 void moveRight()
           
 void moveUp()
           
 
Methods inherited from class greenfoot.Actor
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getWorldOfType, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setLocation, setRotation, turn, turnTowards
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moveAmt

public int moveAmt
Constructor Detail

Person

public Person()
Method Detail

act

public void act()
Act - do whatever the Person wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.

Overrides:
act in class greenfoot.Actor

moveDown

public void moveDown()

moveLeft

public void moveLeft()

moveOnKeyPress

public void moveOnKeyPress()

moveRight

public void moveRight()

moveUp

public void moveUp()