P
- the generic typeS
- the generic typepublic class StateChangedEventImpl<P extends Player<P,S>,S> extends AbstractPlayerEvent<P> implements StateChangedEvent<P,S>
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>
org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A>, org.refcodes.mixin.ActionAccessor.ActionProperty<A>
ACTION
Constructor and Description |
---|
StateChangedEventImpl(S aState,
S aPrecedingState,
P aSource)
Instantiates a new state changed event.
|
Modifier and Type | Method and Description |
---|---|
S |
getPrecedingState()
Gets the preceding state.
|
S |
getState() |
String |
toString() |
getAction, getSource
public S getState()
getState
in interface org.refcodes.mixin.StateAccessor<S>
public S getPrecedingState()
getPrecedingState
in interface StateChangedEvent<P extends Player<P,S>,S>
Copyright © 2018. All rights reserved.