be.madoka.aardbei.sokoban.logic.piece
Class EmptyPiece

java.lang.Object
  |
  +--be.madoka.aardbei.sokoban.logic.Piece
        |
        +--be.madoka.aardbei.sokoban.logic.piece.EmptyPiece
All Implemented Interfaces:
java.util.EventListener, java.beans.PropertyChangeListener, java.beans.VetoableChangeListener
Direct Known Subclasses:
GoalPiece, WallPiece

public class EmptyPiece
extends Piece

Represents an Empty Piece.

Author:
Tim Van Wassenhove

Constructor Summary
EmptyPiece(Position position)
          Default constructor.
 
Method Summary
 java.lang.String getName()
          Returns the name of this Piece.
 
Methods inherited from class be.madoka.aardbei.sokoban.logic.Piece
addPropertyListener, addVetoableChangeListener, getMoves, getOldPosition, getPosition, move, propertyChange, removePropertyListener, removeVetoableChangeListener, vetoableChange
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyPiece

public EmptyPiece(Position position)
Default constructor.

Parameters:
position - the Position
Method Detail

getName

public java.lang.String getName()
Description copied from class: Piece
Returns the name of this Piece.

Specified by:
getName in class Piece
Returns:
a String specifying the name of this Piece