Ejemplo n.º 1
0
 public void RunAction(IUserAction action)
 {
     UndoQueue.Add(action);
     action.Apply();
     if (RedoQueue.Count != 0)
     {
         RedoQueue.Clear();
     }
 }