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