P
- the generic typeS
- the generic typepublic interface PlayerObserver<P extends Player<P,S>,S>
Modifier and Type | Method | Description |
---|---|---|
void |
onChangePositionEvent(ChangePositionEvent<P> aPlayerEvent) |
This method is called when information about an Player which was
previously requested using an asynchronous interface becomes available.
|
void |
onDraggabilityChangedEvent(DraggabilityChangedEvent<P> aPlayerEvent) |
This method is called when information about an Player which was
previously requested using an asynchronous interface becomes available.
|
void |
onPlayerEvent(PlayerEvent<P> aPlayerEvent) |
This method is called when information about an Player which was
previously requested using an asynchronous interface becomes available.
|
void |
onPositionChangedEvent(PositionChangedEvent<P> aPlayerEvent) |
This method is called when information about an Player which was
previously requested using an asynchronous interface becomes available.
|
void |
onStateChangedEvent(StateChangedEvent<P,S> aPlayerEvent) |
This method is called when information about an Player which was
previously requested using an asynchronous interface becomes available.
|
void |
onVisibilityChangedEvent(VisibilityChangedEvent<P> aPlayerEvent) |
This method is called when information about an Player which was
previously requested using an asynchronous interface becomes available.
|
void onPlayerEvent(PlayerEvent<P> aPlayerEvent)
aPlayerEvent
- the player eventvoid onChangePositionEvent(ChangePositionEvent<P> aPlayerEvent) throws org.refcodes.exception.VetoException
aPlayerEvent
- the player eventorg.refcodes.exception.VetoException
- the veto exceptionvoid onPositionChangedEvent(PositionChangedEvent<P> aPlayerEvent)
aPlayerEvent
- the player eventvoid onStateChangedEvent(StateChangedEvent<P,S> aPlayerEvent)
aPlayerEvent
- the player eventvoid onVisibilityChangedEvent(VisibilityChangedEvent<P> aPlayerEvent)
aPlayerEvent
- the player eventvoid onDraggabilityChangedEvent(DraggabilityChangedEvent<P> aPlayerEvent)
aPlayerEvent
- the player eventCopyright © 2018. All rights reserved.