Interface PlayerAccessor<P extends Player<P,​?>>

Type Parameters:
P - the generic type
All Known Subinterfaces:
PlayerAccessor.PlayerProperty<P>, PlayerAddedEvent<P,​S>, PlayerRemovedEvent<P,​S>
All Known Implementing Classes:
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent, PlayerAddedEventImpl, PlayerRemovedEventImpl

public interface PlayerAccessor<P extends Player<P,​?>>
Provides an accessor for a player property.
  • Method Details

    • getPlayer

      P getPlayer()
      Retrieves the player from the player property.
      Returns:
      The player stored by the player property.