Package org.refcodes.boulderdash
Class BrickWall
- 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.BrickWall
-
- All Implemented Interfaces:
BoulderDashPlayer
,org.refcodes.checkerboard.Player<BoulderDashPlayer,org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.command.Worker<BoulderDashPlayer,org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.component.Configurable<BoulderDashPlayer>
,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.StatusAccessor<BoulderDashPlayer>
,org.refcodes.mixin.StatusAccessor.StatusBuilder<BoulderDashPlayer,org.refcodes.data.ext.boulderdash.BoulderDashStatus>
,org.refcodes.mixin.StatusAccessor.StatusMutator<BoulderDashPlayer>
,org.refcodes.mixin.StatusAccessor.StatusProperty<BoulderDashPlayer>
,org.refcodes.observer.Observable<BoulderDashPlayer>
public class BrickWall extends AbstractBoulderDashPlayer
-
-
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.StatusAccessor
org.refcodes.mixin.StatusAccessor.StatusBuilder<S extends java.lang.Object,B extends org.refcodes.mixin.StatusAccessor.StatusBuilder<S,B>>, org.refcodes.mixin.StatusAccessor.StatusMutator<S extends java.lang.Object>, org.refcodes.mixin.StatusAccessor.StatusProperty<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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(BoulderDashBoard aContext)
void
initialize(BoulderDashBoard aContext)
-
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, 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 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
-
BrickWall
public BrickWall()
Constructs the plain instance.
-
BrickWall
public BrickWall(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.
-
-
Method Detail
-
execute
public void execute(BoulderDashBoard aContext) throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
-
initialize
public void initialize(BoulderDashBoard aContext) throws org.refcodes.component.ConfigureException
- Throws:
org.refcodes.component.ConfigureException
-
-