## Class Piece

    java.lang.Object
      greenfoot.Actor
          SmoothMover
              Piece

    public class Piece

extends SmoothMover

This class creates a Piece object.

Version:
  24.04.2015
Author:
  Maria - Despoina Gkaintatzi

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

### Piece

    public Piece()

  Constructor for objects of class Piece.

Method Detail

### act

    public void act()

  Act - do whatever the Debris wants to do. This method is called whenever the 'Act' or 'Run' button gets pressed in the environment.

  Overrides:
    `act` in class `greenfoot.Actor`