S - The state if the player (dead, alive, strong, weak, king, queen,
Pac-Man, ghost, fire, wood, water, strong queen, weak king, etc).public interface Player<S> extends org.refcodes.graphical.Position.PositionProperty, org.refcodes.graphical.Position.PositionBuilder<Player<S>>, org.refcodes.observer.Observable<PlayerObserver<S>>, org.refcodes.mixin.StateAccessor.StateMutator<S>, org.refcodes.mixin.StateAccessor.StateProperty<S>, org.refcodes.mixin.StateAccessor.StateBuilder<S,Player<S>>, org.refcodes.graphical.VisibleAccessor.VisibleProperty, org.refcodes.graphical.VisibleAccessor.VisibleBuilder<Player<S>>, org.refcodes.graphical.DraggableAccessor.DraggableProperty, org.refcodes.graphical.DraggableAccessor.DraggableBuilder<Player<S>>
Player defines an actor (player) on a playground (checkerboard). It
is observable in order to signal observers (checkerboard) on state updates.org.refcodes.graphical.Position.PositionBuilder<B extends org.refcodes.graphical.Position.PositionBuilder<B>>, org.refcodes.graphical.Position.PositionMutator, org.refcodes.graphical.Position.PositionProperty, org.refcodes.graphical.Position.PositionPropertyBuilderorg.refcodes.graphical.PosXAccessor.PosXBuilder<B extends org.refcodes.graphical.PosXAccessor.PosXBuilder<B>>, org.refcodes.graphical.PosXAccessor.PosXMutator, org.refcodes.graphical.PosXAccessor.PosXPropertyorg.refcodes.graphical.PosYAccessor.PosYBuilder<B extends org.refcodes.graphical.PosYAccessor.PosYBuilder<B>>, org.refcodes.graphical.PosYAccessor.PosYMutator, org.refcodes.graphical.PosYAccessor.PosYPropertyorg.refcodes.mixin.StateAccessor.StateBuilder<S,B extends org.refcodes.mixin.StateAccessor.StateBuilder<S,B>>, org.refcodes.mixin.StateAccessor.StateMutator<S>, org.refcodes.mixin.StateAccessor.StateProperty<S>org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B extends org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B>>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisiblePropertyorg.refcodes.graphical.DraggableAccessor.DraggableBuilder<B extends org.refcodes.graphical.DraggableAccessor.DraggableBuilder<B>>, org.refcodes.graphical.DraggableAccessor.DraggableMutator, org.refcodes.graphical.DraggableAccessor.DraggableProperty| Modifier and Type | Method and Description |
|---|---|
default void |
blink()
Causes the
Player to blink. |
setPosition, setPositionwithPosition, withPositionhasObserverSubscription, subscribeObserver, unsubscribeObserverhide, setVisible, showwithHide, withShow, withVisibledefault void blink()
Player to blink.Copyright © 2016. All rights reserved.