Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface CheckerboardAccessor<P extends Player<P,S>,S>
- Type Parameters:
P
- the generic typeS
- the generic type
- All Known Subinterfaces:
CheckerboardAccessor.CheckerboardProperty<P,
S>
public interface CheckerboardAccessor<P extends Player<P,S>,S>
Provides an accessor for a player property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
CheckerboardAccessor.CheckerboardBuilder<P extends Player<P,
S>, S, B extends CheckerboardAccessor.CheckerboardBuilder<P, S, B>> Provides a builder method for a player property returning the builder for applying multiple build operations.static interface
Provides a mutator for a player property.static interface
Provides a player property. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the player from the player property.
-
Method Details
-
getCheckerboard
Checkerboard<P,S> getCheckerboard()Retrieves the player from the player property.- Returns:
- The player stored by the player property.
-