java.lang.Objectgreenfoot.Actor
Person
public class Person
Write a description of class Person here.
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 |
---|
public int moveAmt
Constructor Detail |
---|
public Person()
Method Detail |
---|
public void act()
act
in class greenfoot.Actor
public void moveDown()
public void moveLeft()
public void moveOnKeyPress()
public void moveRight()
public void moveUp()