| Constructor and Description | 
|---|
NormalState(PieceType type)
Creates a normal state object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Boolean | 
AllowCancel()
Returns if the current state allows cancelling placement. 
 | 
IMapState | 
GetNextMapState()
Gets the next state after the completion of the current state. 
 | 
PieceType | 
GetPieceType()
Gets the piece type associated with the current state. 
 | 
java.lang.Boolean | 
IsSetup()
Returns if the current state is a map setup state. 
 | 
private PieceType type
public NormalState(PieceType type)
type - The type of piece to place.public PieceType GetPieceType()
IMapStateGetPieceType in interface IMapStatepublic IMapState GetNextMapState()
IMapStateGetNextMapState in interface IMapStatepublic java.lang.Boolean IsSetup()
IMapStatepublic java.lang.Boolean AllowCancel()
IMapStateAllowCancel in interface IMapState