Class AbstractPlayerEvent<P extends Player<P,?>>

    • 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>
    • Constructor Detail

      • AbstractPlayerEvent

        public AbstractPlayerEvent​(PlayerAction aAction,
                                   P aSource)
        Instantiates a new abstract player event.
        Parameters:
        aAction - the action
        aSource - The according source (origin).
    • Method Detail

      • getAction

        public PlayerAction getAction()
        Specified by:
        getAction in interface org.refcodes.mixin.ActionAccessor<P extends Player<P,?>>
      • getSource

        public P getSource()
        Specified by:
        getSource in interface org.refcodes.mixin.SourceAccessor<P extends Player<P,?>>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object