java.lang.Objectgreenfoot.Actor
Prop
public abstract class Prop
Represents a "Prop" (or Property) in the world such as a wall or beeper. The act method of a Prop does nothing.
| Constructor Summary | |
|---|---|
Prop()
|
|
| Method Summary | |
|---|---|
void |
setImage(greenfoot.GreenfootImage something)
This effectively disables changing the image of a Prop |
void |
setImage(java.lang.String something)
do nothing |
void |
setRotation(int value)
do nothing |
static java.lang.String |
usage()
Print a short usage note to standard output. |
| Methods inherited from class greenfoot.Actor |
|---|
act, addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getX, getY, intersects, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Prop()
| Method Detail |
|---|
public void setImage(greenfoot.GreenfootImage something)
setImage in class greenfoot.Actorpublic void setImage(java.lang.String something)
setImage in class greenfoot.Actorpublic void setRotation(int value)
setRotation in class greenfoot.Actorpublic static java.lang.String usage()