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