コード例 #1
0
 private void StartNextCommand()
 {
     Debug.Assert(currentCommand == null);
     Debug.Assert(commands.Count > 0);
     currentCommand = commands.First();
     currentCommand.Execute();
 }
コード例 #2
0
 private void FinishCurrentCommand()
 {
     commands.RemoveAt(0);
     currentCommand = null;
 }
コード例 #3
0
 private void AddCommand(IUIAnimatorCommand command)
 {
     commands.Add(command);
 }