Package | Description |
---|---|
net.sf.gridarta.actions | |
net.sf.gridarta.model.undo |
Implementation of Undo / Redo for Gridarta.
|
Modifier and Type | Method and Description |
---|---|
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
UndoActions.applyChange(UndoModel<G,A,R> undoModel,
MapModel<G,A,R> mapModel,
UndoState<G,A,R> undoState)
Applies a change (for an undo or a redo operation).
|
Modifier and Type | Field and Description |
---|---|
private List<UndoState<G,A,R>> |
UndoModel.undoStack
The undo stack.
|
Modifier and Type | Method and Description |
---|---|
UndoState<G,A,R> |
UndoModel.redo()
Perform a "redo" operation.
|
UndoState<G,A,R> |
UndoModel.undo()
Perform an "undo" operation.
|
Modifier and Type | Method and Description |
---|---|
private void |
UndoModel.addUndoState(UndoState<G,A,R> undoState)
Add a new undo state to the undo stack.
|
void |
UndoModel.finish(UndoState<G,A,R> undoState)
Finishes an undo or redo operation.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.