java.lang.Objectgreenfoot.Actor
Prince
public class Prince
Write a description of class Prince here.
Constructor Summary | |
---|---|
Prince()
|
Method Summary | |
---|---|
void |
act()
The act method is called by the greenfoot framework to give objects a chance to perform some action. |
void |
addedToWorld(greenfoot.World dunia)
This method will be called by the Greenfoot system when the object has been inserted into the world. |
Methods inherited from class greenfoot.Actor |
---|
getHeight, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWidth, getWorld, getX, getY, intersects, setImage, setImage, setLocation, setRotation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Prince()
Method Detail |
---|
public void act()
greenfoot.Actor
act
in class greenfoot.Actor
public void addedToWorld(greenfoot.World dunia)
greenfoot.Actor
This default implementation is empty.
addedToWorld
in class greenfoot.Actor
dunia
- The world the object was added to.