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<P>, org.refcodes.observer.GenericActionEvent<P,S>, 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 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.StatusAccessor

        org.refcodes.mixin.StatusAccessor.StatusBuilder<S extends java.lang.Object,B extends org.refcodes.mixin.StatusAccessor.StatusBuilder<S,B>>, org.refcodes.mixin.StatusAccessor.StatusMutator<S extends java.lang.Object>, org.refcodes.mixin.StatusAccessor.StatusProperty<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.StatusAccessor

        getStatus
    • Method Detail

      • getPrecedingState

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