Exemplo n.º 1
0
 private void StartNextCommand()
 {
     Debug.Assert(currentCommand == null);
     Debug.Assert(commands.Count > 0);
     currentCommand = commands.First();
     currentCommand.Execute();
 }
Exemplo n.º 2
0
 private void FinishCurrentCommand()
 {
     commands.RemoveAt(0);
     currentCommand = null;
 }
Exemplo n.º 3
0
 private void AddCommand(IUIAnimatorCommand command)
 {
     commands.Add(command);
 }