Interface StateChangedEvent<P extends Player<P,S>,S>

  • Type Parameters:
    P - the generic type
    S - 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.StateAccessor<S>
    All Known Implementing Classes:
    StateChangedEventImpl

    public interface StateChangedEvent<P extends Player<P,S>,S>
    extends PlayerEvent<P>, org.refcodes.mixin.StateAccessor<S>
    The Interface StateChangedEvent.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor

        org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.StateAccessor

        org.refcodes.mixin.StateAccessor.StateBuilder<S extends java.lang.Object,B extends org.refcodes.mixin.StateAccessor.StateBuilder<S,B>>, org.refcodes.mixin.StateAccessor.StateMutator<S extends java.lang.Object>, org.refcodes.mixin.StateAccessor.StateProperty<S extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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.StateAccessor

        getState
    • Method Detail

      • getPrecedingState

        S getPrecedingState()
        Gets the preceding state.
        Returns:
        the preceding state