Beispiel #1
0
 public void Redo(int cur)
 {
     for (int i = 0; i < cur; i++)
     {
         if (current <= commands.Count - 1)
         {
             Command command = commands[current];
             current++;
             command.Redo();
         }
     }
 }