P - the generic typeS - the generic typePlayerEvent<P>, StateChangedEvent<P,S>, org.refcodes.mixin.ActionAccessor<PlayerAction>, org.refcodes.mixin.SourceAccessor<P>, org.refcodes.mixin.StateAccessor<S>, org.refcodes.observer.GenericActionEvent<PlayerAction,P>, org.refcodes.observer.GenericEvent<P>public class StateChangedEventImpl<P extends Player<P,S>,S> extends AbstractPlayerEvent<P> implements StateChangedEvent<P,S>
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>org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>org.refcodes.mixin.StateAccessor.StateBuilder<S extends Object,B extends org.refcodes.mixin.StateAccessor.StateBuilder<S,B>>, org.refcodes.mixin.StateAccessor.StateMutator<S extends Object>, org.refcodes.mixin.StateAccessor.StateProperty<S extends Object>ACTION| Constructor | Description |
|---|---|
StateChangedEventImpl(S aState,
S aPrecedingState,
P aSource) |
Instantiates a new state changed event.
|
| Modifier and Type | Method | Description |
|---|---|---|
S |
getPrecedingState() |
Gets the preceding state.
|
S |
getState() |
|
String |
toString() |
getAction, getSourcepublic S getState()
public S getPrecedingState()
getPrecedingState in interface StateChangedEvent<P extends Player<P,S>,S>Copyright © 2018. All rights reserved.