Gridarta Editor
net.sf.gridarta.action.MoveSquareBottomAction< 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 to the bottom. More...

+ Inheritance diagram for net.sf.gridarta.action.MoveSquareBottomAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.MoveSquareBottomAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void moveSquareBottom ()
 Action method that moves the selected game object to the bottom. More...
 
 MoveSquareBottomAction (@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 to the bottom.

Author
Andreas Kirschbaum

Definition at line 38 of file MoveSquareBottomAction.java.

Constructor & Destructor Documentation

◆ MoveSquareBottomAction()

net.sf.gridarta.action.MoveSquareBottomAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.MoveSquareBottomAction ( @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 MoveSquareBottomAction.java.

Member Function Documentation

◆ doAction()

◆ moveSquareBottom()

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

Action method that moves the selected game object to the bottom.

Definition at line 53 of file MoveSquareBottomAction.java.

References net.sf.gridarta.action.MoveSquareBottomAction< 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: