 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.action;
22 import javax.swing.Action;
32 import net.
sf.japi.swing.action.ActionMethod;
33 import org.jetbrains.annotations.NotNull;
58 if (mapControl ==
null) {
66 completelyBlockedSquare.removeAll();
74 public void setAction(@NotNull
final Action action, @NotNull
final String
name) {
A MapModel reflects the data of a map.
A MapManager manages all opened maps.
Base package of all Gridarta classes.
void endTransaction()
End a transaction.
void beginTransaction(@NotNull String name)
Starts a new transaction.
CleanCompletelyBlockedSquaresAction(@NotNull final MapManager< G, A, R > mapManager)
Creates a new instance.
Reflects a game object (object on a map).
static< G extends GameObject< G, A, R > A extends R extends Archetype< G, A, R > Iterable< MapSquare< G, A, R > > findCompletelyBlockedSquares(@NotNull final MapModel< G, A, R > mapModel)
A MapValidator to assert that a square that's blocked and no_pass is not surrounded by blocked and no...
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
This package contains the framework for validating maps.
MapControl< G, A, R > getCurrentMap()
Returns the current map.
This package contains the checks for validating maps.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
Currently nothing more than a marker interface for unification.
final MapManager< G, A, R > mapManager
MapModel< G, A, R > getMapModel()
Returns the map model.
void cleanCompletelyBlockedSquares()
The action method for "cleanCompletelyBlockedSquares".
Base class for classes that contain GameObjects as children in the sense of containment.