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,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.StatusAccessor<org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.mixin.StatusAccessor.StatusBuilder<org.refcodes.data.ext.boulderdash.BoulderDashStatus,BoulderDashPlayer>
,org.refcodes.mixin.StatusAccessor.StatusMutator<org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.mixin.StatusAccessor.StatusProperty<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 Object>, org.refcodes.component.Configurable.ConfigureBuilder<CTX extends 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
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.StatusAccessor
org.refcodes.mixin.StatusAccessor.StatusBuilder<S extends Object,B extends org.refcodes.mixin.StatusAccessor.StatusBuilder<S,B>>, org.refcodes.mixin.StatusAccessor.StatusMutator<S extends Object>, org.refcodes.mixin.StatusAccessor.StatusProperty<S extends 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
-
Field Summary
Fields inherited from interface org.refcodes.mixin.Loggable
RUNTIME_LOGGER_CLASS, RUNTIME_LOGGER_FACTORY_CLASS, RUNTIME_LOGGER_FACTORY_METHOD
-
Constructor Summary
-
Method Summary
Methods inherited from class org.refcodes.boulderdash.AbstractBoulderDashCrawler
execute, initialize
Methods inherited from class org.refcodes.checkerboard.AbstractPlayer
click, draggable, fireEvent, getPositionX, getPositionY, getStatus, hide, isDraggable, isVisible, setDraggable, setPosition, setPosition, setPositionX, setPositionY, setStatus, setVisible, show, stationary, toString, withDraggable, withDraggable, withHide, withPosition, withPosition, withPositionX, withPositionY, withShow, withStationary, withStatus, withVisible
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.component.Configurable
initializeUnchecked
Methods inherited from interface org.refcodes.graphical.DraggableAccessor
isDraggable
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.graphical.DraggableAccessor.DraggableProperty
letDraggable
Methods inherited from interface org.refcodes.mixin.Loggable
alert, alert, critical, critical, debug, error, info, notice, panic, trace, warn, warn
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
toAddTo, toSubFrom
Methods inherited from interface org.refcodes.graphical.Position.PositionBuilder
withPosition, withPosition
Methods inherited from interface org.refcodes.graphical.Position.PositionMutator
setPosition, setPosition
Methods inherited from interface org.refcodes.graphical.Position.PositionProperty
addTo, letPosition, letPosition, subFrom
Methods inherited from interface org.refcodes.graphical.PosXAccessor
getPositionX
Methods inherited from interface org.refcodes.graphical.PosXAccessor.PosXBuilder
withPositionX
Methods inherited from interface org.refcodes.graphical.PosXAccessor.PosXMutator
setPositionX
Methods inherited from interface org.refcodes.graphical.PosXAccessor.PosXProperty
letPositionX
Methods inherited from interface org.refcodes.graphical.PosYAccessor
getPositionY
Methods inherited from interface org.refcodes.graphical.PosYAccessor.PosYBuilder
withPositionY
Methods inherited from interface org.refcodes.graphical.PosYAccessor.PosYMutator
setPositionY
Methods inherited from interface org.refcodes.graphical.PosYAccessor.PosYProperty
letPositionY
Methods inherited from interface org.refcodes.mixin.StatusAccessor
getStatus
Methods inherited from interface org.refcodes.mixin.StatusAccessor.StatusBuilder
withStatus
Methods inherited from interface org.refcodes.mixin.StatusAccessor.StatusMutator
setStatus
Methods inherited from interface org.refcodes.mixin.StatusAccessor.StatusProperty
letStatus
Methods inherited from interface org.refcodes.graphical.VisibleAccessor
isVisible
Methods inherited from interface org.refcodes.graphical.VisibleAccessor.VisibleBuilder
withHide, withShow, withVisible
Methods inherited from interface org.refcodes.graphical.VisibleAccessor.VisibleMutator
hide, setVisible, show
Methods inherited from interface org.refcodes.graphical.VisibleAccessor.VisibleProperty
letVisible
-
Constructor Details
-
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.
-