Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface StateChangedEvent<P extends Player<P,S>,S>
- Type Parameters:
P
- the generic typeS
- The state if the player (dead, alive, strong, weak, king, queen, PacMan, ghost, fire, wood, water, strong queen, weak king, etc).
- All Superinterfaces:
org.refcodes.mixin.ActionAccessor<PlayerAction>
,org.refcodes.observer.GenericActionEvent<PlayerAction,P>
,org.refcodes.observer.GenericEvent<P>
,PlayerEvent<P>
,org.refcodes.mixin.SourceAccessor<P>
,org.refcodes.mixin.StatusAccessor<S>
- All Known Implementing Classes:
StateChangedEventImpl
public interface StateChangedEvent<P extends Player<P,S>,S> extends PlayerEvent<P>, org.refcodes.mixin.StatusAccessor<S>
The Interface StateChangedEvent.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>
Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
Nested classes/interfaces inherited from interface org.refcodes.mixin.StatusAccessor
org.refcodes.mixin.StatusAccessor.StatusBuilder<S extends Object,B extends org.refcodes.mixin.StatusAccessor.StatusBuilder<S,B>>, org.refcodes.mixin.StatusAccessor.StatusMutator<S extends Object>, org.refcodes.mixin.StatusAccessor.StatusProperty<S extends Object>
-
Field Summary
Fields Modifier and Type Field Description static PlayerAction
ACTION
-
Method Summary
Modifier and Type Method Description S
getPrecedingState()
Gets the preceding state.Methods inherited from interface org.refcodes.mixin.ActionAccessor
getAction
Methods inherited from interface org.refcodes.mixin.SourceAccessor
getSource
Methods inherited from interface org.refcodes.mixin.StatusAccessor
getStatus
-
Field Details
-
ACTION
-
-
Method Details
-
getPrecedingState
S getPrecedingState()Gets the preceding state.- Returns:
- the preceding state
-