Module org.refcodes.checkerboard
Package org.refcodes.checkerboard
Interface PlayerAccessor.PlayerBuilder<P extends Player<P,?>,B extends PlayerAccessor.PlayerBuilder<P,B>>
- Type Parameters:
P
- the generic typeB
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- PlayerAccessor<P extends Player<P,
?>>
public 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.
-
Method Summary
-
Method Details
-
withPlayer
Sets the player for the player property.- Parameters:
aPlayer
- The player to be stored by the player property.- Returns:
- The builder for applying multiple build operations.
-