public int Run(AbstractCommand command) { cUnit.StoreCommand(command); cUnit.ExecuteCommand(); return(aUnit.Register); }
public void StoreCommand(AbstractCommand com) { commands.Add(com); }