Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Class PlayerStateChangedEvent<P extends Player<P,S>,S>
java.lang.Object
org.refcodes.checkerboard.AbstractPlayerEvent<P>
org.refcodes.checkerboard.PlayerStateChangedEvent<P,S>
- Type Parameters:
P
- the generic typeS
- The state of the player (dead, alive, strong, weak, king, queen, PacMan, ghost, fire, wood, water, strong queen, weak king, etc).
- All Implemented Interfaces:
PlayerEvent<P>
,org.refcodes.mixin.ActionAccessor<PlayerAction>
,org.refcodes.mixin.SourceAccessor<P>
,org.refcodes.mixin.StatusAccessor<S>
,org.refcodes.observer.GenericActionEvent<PlayerAction,
,P> org.refcodes.observer.GenericEvent<P>
public class PlayerStateChangedEvent<P extends Player<P,S>,S>
extends AbstractPlayerEvent<P>
implements PlayerEvent<P>, org.refcodes.mixin.StatusAccessor<S>
The class PlayerStateChangedEvent.
-
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
-
Constructor Summary
ConstructorDescriptionPlayerStateChangedEvent
(S aState, S aPrecedingState, P aSource) Instantiates a new state changed event. -
Method Summary
Methods inherited from class org.refcodes.checkerboard.AbstractPlayerEvent
getAction, getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.mixin.ActionAccessor
getAction
Methods inherited from interface org.refcodes.mixin.SourceAccessor
getSource
-
Field Details
-
ACTION
-
-
Constructor Details
-
PlayerStateChangedEvent
Instantiates a new state changed event.- Parameters:
aState
- the stateaPrecedingState
- the preceding stateaSource
- The according source (origin).
-
-
Method Details