public class ActionMove extends java.lang.Object implements ActionOnGrid
| Modifier and Type | Field and Description |
|---|---|
protected Feature[] |
movs |
protected java.awt.geom.Point2D |
offset |
GRID_ACTION_ADD, GRID_ACTION_DELETE, GRID_ACTION_MOVE, GRID_ACTION_ROTATE| Constructor and Description |
|---|
ActionMove(Feature[] ff,
java.awt.geom.Point2D offs) |
protected Feature[] movs
protected java.awt.geom.Point2D offset
public ActionMove(Feature[] ff, java.awt.geom.Point2D offs)
public int getType()
getType in interface ActionOnGridpublic boolean undo()
undo in interface ActionOnGrid