Interface TwoPhaseMoveState<T>

Type Parameters:
T - represents the moves that can be applied to the states
All Superinterfaces:
State<TwoPhaseMoveState.TwoPhaseMove<T>>, State<TwoPhaseMoveState.TwoPhaseMove<T>>, TwoPhaseMoveState<T>

public interface TwoPhaseMoveState<T> extends State<TwoPhaseMoveState.TwoPhaseMove<T>>, TwoPhaseMoveState<T>
Represents the state of a game whose moves are described by two objects, i.e., from and to. From a user interface-centric viewpoint, it is suitable for games where moves are made from a source location to a target location. Thus, a move is specified in two phases each of which requires a selection, e.g., two subsequent mouse clicks are required.