Gridarta Editor
net.sf.gridarta.action.InsertArchAction< 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.InsertArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.InsertArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void insertArch ()
 
 InsertArchAction (@NotNull final ObjectChooser< G, A, R > objectChooser, @NotNull final MapViewSettings mapViewSettings)
 
void setAction (@NotNull final Action action, @NotNull final String name)
 
- Public Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R >
void activeMapViewChanged ( @Nullable final MapView< G, A, R > mapView)
 
void mapCursorChangedGameObject ( @Nullable final MapSquare< G, A, R > mapSquare, @Nullable final G gameObject)
 
void mapCursorChangedMode ()
 
void mapCursorChangedPos ( @NotNull final Point location)
 
void mapCursorChangedSize ()
 
void mapViewClosing ( @NotNull final MapView< G, A, R > mapView)
 
void mapViewCreated ( @NotNull final MapView< G, A, R > mapView)
 

Protected Member Functions

void updateAction ()
 
- Protected Member Functions inherited from net.sf.gridarta.action.AbstractMapCursorAction< G, A, R >
MapCursor< G, A, R > getActiveMapCursor ()
 
MapView< G, A, R > getActiveMapView ()
 
abstract void updateAction ()
 

Private Member Functions

boolean doInsertArch (final boolean performAction)
 

Private Attributes

Action action
 
final MapViewSettings mapViewSettings
 
final ObjectChooser< G, A, R > objectChooser
 

Detailed Description

An EditorAction that inserts a new game object into the current map.

Author
Andreas Kirschbaum

Definition at line 39 of file InsertArchAction.java.

Constructor & Destructor Documentation

◆ InsertArchAction()

net.sf.gridarta.action.InsertArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.InsertArchAction ( @NotNull final ObjectChooser< G, A, R >  objectChooser,
@NotNull final MapViewSettings  mapViewSettings 
)

Member Function Documentation

◆ doInsertArch()

boolean net.sf.gridarta.action.InsertArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doInsertArch ( final boolean  performAction)
private

◆ insertArch()

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

Action method for "insert arch".

Definition at line 81 of file InsertArchAction.java.

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

+ Here is the call graph for this function:

◆ setAction()

void net.sf.gridarta.action.InsertArchAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction ( @NotNull final Action  action,
@NotNull final String  name 
)

◆ updateAction()

Member Data Documentation

◆ action

◆ mapViewSettings

◆ objectChooser


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