/// <summary>
 /// Constructor. Set's the command's status to <see cref="CommandManager.Status.Waiting"/>
 /// </summary>
 /// <param name="command">The command to be encapsulated</param>
 public CommandContainer(AbstractCommand command)
 {
     this.command = command;
     this.status = Status.Waiting;
 }
 /// <summary>
 /// Adds a command to the manager. 
 /// </summary>
 /// <param name="command">The command to be executed.</param>
 public void addCommand(AbstractCommand command)
 {
     // Encapsulate the command and try to start the next command
     this.commands.Add(new CommandContainer(command));
     this.nextCommand();
 }