Package org.refcodes.checkerboard
Interface PlayerAccessor<P extends Player<P,?>>
-
- Type Parameters:
P
- the generic type
- All Known Subinterfaces:
PlayerAccessor.PlayerProperty<P>
,PlayerAccessor.PlayerPropertyBuilder<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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PlayerAccessor.PlayerBuilder<P extends Player<P,?>,B extends PlayerAccessor.PlayerBuilder<P,B>>
Provides a builder method for a player property returning the builder for applying multiple build operations.static interface
PlayerAccessor.PlayerMutator<P extends Player<P,?>>
Provides a mutator for a player property.static interface
PlayerAccessor.PlayerProperty<P extends Player<P,?>>
Provides a player property.static interface
PlayerAccessor.PlayerPropertyBuilder<P extends Player<P,?>>
Provides a player property builder.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description P
getPlayer()
Retrieves the player from the player property.
-
-
-
Method Detail
-
getPlayer
P getPlayer()
Retrieves the player from the player property.- Returns:
- The player stored by the player property.
-
-