Package org.refcodes.checkerboard
Interface ChangePositionObserver<P extends Player<P,?>>
-
- All Known Subinterfaces:
PlayerObserver<P,S>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ChangePositionObserver<P extends Player<P,?>>
Change position event observer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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.
-
-
-
Method Detail
-
onChangePositionEvent
void onChangePositionEvent(ChangePositionEvent<P> aPlayerEvent) throws org.refcodes.exception.VetoException
This method is called when information about an Player which was previously requested using an asynchronous interface becomes available.- Parameters:
aPlayerEvent
- the player event- Throws:
org.refcodes.exception.VetoException
- the veto exception
-
-