Class Prop

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

public abstract class Prop
extends greenfoot.Actor

Represents a "Prop" (or Property) in the world such as a wall or beeper. The act method of a Prop does nothing.

Version:
1.0 (Greenfoot) January 2010
Author:
Joseph Bergin

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

Prop

public Prop()
Method Detail

setImage

public void setImage(greenfoot.GreenfootImage something)
This effectively disables changing the image of a Prop

Overrides:
setImage in class greenfoot.Actor

setImage

public void setImage(java.lang.String something)
do nothing

Overrides:
setImage in class greenfoot.Actor

setRotation

public void setRotation(int value)
do nothing

Overrides:
setRotation in class greenfoot.Actor

usage

public static java.lang.String usage()
Print a short usage note to standard output.