P
- the generic typePlayerEvent<P>
, org.refcodes.mixin.ActionAccessor<P>
, org.refcodes.mixin.SourceAccessor<P>
, org.refcodes.observer.GenericActionEvent<PlayerAction,P>
, org.refcodes.observer.GenericEvent<P>
ChangePositionEventImpl
, DraggabilityChangedEventImpl
, PositionChangedEventImpl
, StateChangedEventImpl
, VisibilityChangedEventImpl
public abstract class AbstractPlayerEvent<P extends Player<P,?>> extends Object implements PlayerEvent<P>
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object>
Constructor | Description |
---|---|
AbstractPlayerEvent(PlayerAction aAction,
P aSource) |
Instantiates a new abstract player event.
|
public AbstractPlayerEvent(PlayerAction aAction, P aSource)
aAction
- the actionaSource
- The according source (origin).public PlayerAction getAction()
public P getSource()
Copyright © 2018. All rights reserved.