Package org.refcodes.boulderdash
Class Butterfly
- java.lang.Object
-
- org.refcodes.observer.AbstractObservable<org.refcodes.checkerboard.PlayerObserver<P,S>,org.refcodes.checkerboard.PlayerEvent<P>>
-
- org.refcodes.checkerboard.AbstractPlayer<BoulderDashPlayer,org.refcodes.data.ext.boulderdash.BoulderDashStatus>
-
- org.refcodes.boulderdash.AbstractBoulderDashPlayer
-
- org.refcodes.boulderdash.AbstractBoulderDashCrawler
-
- org.refcodes.boulderdash.Butterfly
-
- All Implemented Interfaces:
BoulderDashPlayer
,org.refcodes.checkerboard.Player<BoulderDashPlayer,org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.command.Worker<BoulderDashBoard,java.lang.RuntimeException>
,org.refcodes.component.Configurable<BoulderDashBoard>
,org.refcodes.graphical.DraggableAccessor
,org.refcodes.graphical.DraggableAccessor.DraggableBuilder<BoulderDashPlayer>
,org.refcodes.graphical.DraggableAccessor.DraggableMutator
,org.refcodes.graphical.DraggableAccessor.DraggableProperty
,org.refcodes.graphical.Position
,org.refcodes.graphical.Position.PositionBuilder<BoulderDashPlayer>
,org.refcodes.graphical.Position.PositionMutator
,org.refcodes.graphical.Position.PositionProperty
,org.refcodes.graphical.PosXAccessor
,org.refcodes.graphical.PosXAccessor.PosXBuilder<BoulderDashPlayer>
,org.refcodes.graphical.PosXAccessor.PosXMutator
,org.refcodes.graphical.PosXAccessor.PosXProperty
,org.refcodes.graphical.PosYAccessor
,org.refcodes.graphical.PosYAccessor.PosYBuilder<BoulderDashPlayer>
,org.refcodes.graphical.PosYAccessor.PosYMutator
,org.refcodes.graphical.PosYAccessor.PosYProperty
,org.refcodes.graphical.VisibleAccessor
,org.refcodes.graphical.VisibleAccessor.VisibleBuilder<BoulderDashPlayer>
,org.refcodes.graphical.VisibleAccessor.VisibleMutator
,org.refcodes.graphical.VisibleAccessor.VisibleProperty
,org.refcodes.mixin.Disposable
,org.refcodes.mixin.Loggable
,org.refcodes.mixin.StateAccessor<org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.mixin.StateAccessor.StateBuilder<org.refcodes.data.ext.boulderdash.BoulderDashStatus,BoulderDashPlayer>
,org.refcodes.mixin.StateAccessor.StateMutator<org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.mixin.StateAccessor.StateProperty<org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.observer.Observable<org.refcodes.checkerboard.PlayerObserver<BoulderDashPlayer,org.refcodes.data.ext.boulderdash.BoulderDashStatus>>
public class Butterfly extends AbstractBoulderDashCrawler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Configurable
org.refcodes.component.Configurable.ConfigureAutomaton<CTX extends java.lang.Object>, org.refcodes.component.Configurable.ConfigureBuilder<CTX extends java.lang.Object,B extends org.refcodes.component.Configurable.ConfigureBuilder<CTX,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.Disposable
org.refcodes.mixin.Disposable.Disposedable
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.DraggableAccessor
org.refcodes.graphical.DraggableAccessor.DraggableBuilder<B extends org.refcodes.graphical.DraggableAccessor.DraggableBuilder<B>>, org.refcodes.graphical.DraggableAccessor.DraggableMutator, org.refcodes.graphical.DraggableAccessor.DraggableProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.Position
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.PositionPropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.PosXAccessor
org.refcodes.graphical.PosXAccessor.PosXBuilder<B extends org.refcodes.graphical.PosXAccessor.PosXBuilder<B>>, org.refcodes.graphical.PosXAccessor.PosXMutator, org.refcodes.graphical.PosXAccessor.PosXProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.PosYAccessor
org.refcodes.graphical.PosYAccessor.PosYBuilder<B extends org.refcodes.graphical.PosYAccessor.PosYBuilder<B>>, org.refcodes.graphical.PosYAccessor.PosYMutator, org.refcodes.graphical.PosYAccessor.PosYProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.StateAccessor
org.refcodes.mixin.StateAccessor.StateBuilder<S extends java.lang.Object,B extends org.refcodes.mixin.StateAccessor.StateBuilder<S,B>>, org.refcodes.mixin.StateAccessor.StateMutator<S extends java.lang.Object>, org.refcodes.mixin.StateAccessor.StateProperty<S extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.VisibleAccessor
org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B extends org.refcodes.graphical.VisibleAccessor.VisibleBuilder<B>>, org.refcodes.graphical.VisibleAccessor.VisibleMutator, org.refcodes.graphical.VisibleAccessor.VisibleProperty
-
-
Method Summary
-
Methods inherited from class org.refcodes.boulderdash.AbstractBoulderDashCrawler
execute, initialize
-
Methods inherited from class org.refcodes.observer.AbstractObservable
clear, dispose, doHandleEventListenerException, fireEvent, getThreadPriority, hasObserverSubscription, isEmpty, isObserversActive, observers, setObserversActive, setThreadPriority, size, subscribeObserver, unsubscribeObserver
-
Methods inherited from class org.refcodes.checkerboard.AbstractPlayer
click, draggable, fireEvent, getPositionX, getPositionY, getState, hide, isDraggable, isVisible, setDraggable, setPosition, setPosition, setPositionX, setPositionY, setState, setVisible, show, stationary, toString, withDraggable, withDraggable, withHide, withPosition, withPosition, withPositionX, withPositionY, withShow, withState, withStationary, withVisible
-
Methods inherited from interface org.refcodes.graphical.DraggableAccessor.DraggableBuilder
withDraggable, withDraggable, withStationary
-
Methods inherited from interface org.refcodes.graphical.DraggableAccessor.DraggableMutator
draggable, setDraggable, stationary
-
Methods inherited from interface org.refcodes.mixin.Loggable
alert, alert, critical, critical, debug, error, info, notice, panic, trace, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.observer.Observable
hasObserverSubscription, subscribeObserver, unsubscribeObserver
-
Methods inherited from interface org.refcodes.checkerboard.Player
blink, click, moveDown, moveLeft, moveRight, moveUp, onChangePosition, onClicked, onDraggabilityChanged, onPositionChanged, onStateChanged, onVisibilityChanged
-
Methods inherited from interface org.refcodes.graphical.Position.PositionBuilder
withPosition, withPosition
-
Methods inherited from interface org.refcodes.graphical.Position.PositionMutator
setPosition, setPosition
-
-
-
-
Constructor Detail
-
Butterfly
public Butterfly()
Constructs the plain instance.
-
Butterfly
public Butterfly(int aPosX, int aPosY)
Constructs the instance with the given coordinates.- Parameters:
aPosX
- The x-position for the instance being created.aPosY
- The y-position for the instance being created.
-
-