Exemple #1
0
        public void Do(IReversibleAction action)
        {
            action.Do();
            done.Push(action);
            undone.Clear();

            OnActionPerformed(action);
        }
Exemple #2
0
 private void OnActionReverted(IReversibleAction action)
 {
     if (ActionReverted != null)
         ActionReverted(action, new EventArgs());
 }