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

    • 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,?>>