Interface StateChangedObserver<P extends Player<P,​S>,​S>

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 StateChangedObserver<P extends Player<P,​S>,​S>
State changed event observer.
  • Method Summary

    Modifier and Type Method Description
    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.
  • Method Details

    • onStateChangedEvent

      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.
      Parameters:
      aPlayerEvent - the player event