Class Prince

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

public class Prince
extends greenfoot.Actor

Write a description of class Prince here.

Version:
(1.0.0)
Author:
(Muhidin)

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

Prince

public Prince()
Method Detail

act

public void act()
Description copied from class: greenfoot.Actor
The act method is called by the greenfoot framework to give objects a chance to perform some action. At each action step in the environment, each object's act method is invoked, in unspecified order. This method does nothing. It should be overridden in subclasses to implement an object's action.

Overrides:
act in class greenfoot.Actor

addedToWorld

public void addedToWorld(greenfoot.World dunia)
Description copied from class: greenfoot.Actor
This method will be called by the Greenfoot system when the object has been inserted into the world. This method can be overridden to implement custom behavoiur when the actor is inserted into the world.

This default implementation is empty.

Overrides:
addedToWorld in class greenfoot.Actor
Parameters:
dunia - The world the object was added to.