public class ActionRotate extends Object implements ActionOnGrid
| Modifier and Type | Field and Description |
|---|---|
protected double |
addedRotation |
protected Feature[] |
feats |
GRID_ACTION_ADD, GRID_ACTION_DELETE, GRID_ACTION_MOVE, GRID_ACTION_ROTATE| Constructor and Description |
|---|
ActionRotate(Feature[] features,
double added_rot) |
protected Feature[] feats
protected double addedRotation
public ActionRotate(Feature[] features, double added_rot)
public int getType()
getType in interface ActionOnGridpublic boolean undo()
undo in interface ActionOnGrid