package escape.util; import escape.interfaces.EscapePiece; import escape.enumerations.Player; public class GamePiece implements EscapePiece { private PieceName pieceName; private MovementPattern movementPattern; private PieceAttribute[] attributes; private Player player; public void setPieceName(PieceName pieceName) { this.pieceName = pieceName; } public void setMovementPattern(MovementPattern movementPattern) { this.movementPattern = movementPattern; } public PieceAttribute[] getAttributes() { return attributes; } public void setAttributes(PieceAttribute[] attributes) { this.attributes = attributes; } public void setPlayer(Player player) { this.player = player; } public PieceName getName(){ return pieceName; } public Player getPlayer(){ return player; } public MovementPattern getMovementPattern() { return movementPattern; } }