Gridarta Editor
net.sf.gridarta.action.MoveSquareDownAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference
+ Inheritance diagram for net.sf.gridarta.action.MoveSquareDownAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.MoveSquareDownAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void moveSquareDown ()
 
 MoveSquareDownAction (@NotNull final SelectedSquareModel< G, A, R > selectedSquareModel, @Nullable final MapManager< G, A, R > mapManager)
 
- Public Member Functions inherited from net.sf.gridarta.action.AbstractMoveSquareAction< G, A, R >
boolean doAction (final boolean performAction)
 
void setAction ( @NotNull final Action action, @NotNull final String name)
 

Protected Member Functions

boolean doAction (final boolean performAction, @Nullable final G gameObject)
 
- Protected Member Functions inherited from net.sf.gridarta.action.AbstractMoveSquareAction< G, A, R >
 AbstractMoveSquareAction ( @NotNull final SelectedSquareModel< G, A, R > selectedSquareModel, @Nullable final MapManager< G, A, R > mapManager)
 
abstract boolean doAction (boolean performAction, @Nullable G gameObject)
 

Detailed Description

An net.sf.gridarta.utils.EditorAction that moves the selected game object in the SelectedSquareModel down.

Author
Andreas Kirschbaum

Definition at line 37 of file MoveSquareDownAction.java.

Constructor & Destructor Documentation

◆ MoveSquareDownAction()

net.sf.gridarta.action.MoveSquareDownAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.MoveSquareDownAction ( @NotNull final SelectedSquareModel< G, A, R >  selectedSquareModel,
@Nullable final MapManager< G, A, R >  mapManager 
)

Creates a new instance.

Parameters
selectedSquareModelthe selected square model to update
mapManagerthe map manager to track or
null

Definition at line 44 of file MoveSquareDownAction.java.

References net.sf.gridarta.action.AbstractMoveSquareAction< G, A, R >.selectedSquareModel.

Member Function Documentation

◆ doAction()

◆ moveSquareDown()

void net.sf.gridarta.action.MoveSquareDownAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.moveSquareDown ( )

Action method for moving an arch down within its square.

Definition at line 52 of file MoveSquareDownAction.java.

References net.sf.gridarta.action.MoveSquareDownAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doAction().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: