Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface PlayerPositionChangedObserver<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.
Position changed event observer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPlayerPositionChangedEvent
(PlayerPositionChangedEvent<P> aPlayerEvent) This method is called when aPlayer
instance's position has changed.
-
Method Details
-
onPlayerPositionChangedEvent
This method is called when aPlayer
instance's position has changed.- Parameters:
aPlayerEvent
- thePlayerPositionChangedEvent
signaling the position change.
-