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

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

+ 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 ()
 Action method for moving an arch down within its square. More...
 
 MoveSquareDownAction (@NotNull final SelectedSquareModel< G, A, R > selectedSquareModel, @Nullable final MapManager< G, A, R > mapManager)
 Creates a new instance. More...
 
- Public Member Functions inherited from net.sf.gridarta.action.AbstractMoveSquareAction< G, A, R >
boolean doAction (final boolean performAction)
 Executes the action. More...
 
void setAction ( @NotNull final Action action, @NotNull final String name)
 Sets the Action instance for this editor action. More...
 

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)
 Creates a new instance. More...
 
abstract boolean doAction (boolean performAction, @Nullable G gameObject)
 Executes the action. More...
 

Detailed Description

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

Author
Andreas Kirschbaum

Definition at line 38 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 45 of file MoveSquareDownAction.java.

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 53 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: