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()
IMapState
GetPieceType
in interface IMapState
public IMapState GetNextMapState()
IMapState
GetNextMapState
in interface IMapState
public java.lang.Boolean IsSetup()
IMapState
public java.lang.Boolean AllowCancel()
IMapState
AllowCancel
in interface IMapState