java.lang.Objectgreenfoot.Actor
SmoothMover
Piece
public class Piece
This class creates a Piece object.
| Constructor Summary | |
|---|---|
Piece()
Constructor for objects of class Piece. |
|
| Method Summary | |
|---|---|
void |
act()
Act - do whatever the Debris wants to do. |
| Methods inherited from class SmoothMover |
|---|
accelerate, addForce, getExactX, getExactY, getMovement, getSpeed, increaseSpeed, move, moveOneStep, setLocation, setLocation, stop |
| Methods inherited from class greenfoot.Actor |
|---|
addedToWorld, getImage, getIntersectingObjects, getNeighbours, getObjectsAtOffset, getObjectsInRange, getOneIntersectingObject, getOneObjectAtOffset, getRotation, getWorld, getX, getY, intersects, isAtEdge, isTouching, move, removeTouching, setImage, setImage, setRotation, turn, turnTowards |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Piece()
| Method Detail |
|---|
public void act()
act in class greenfoot.Actor