Класс ActiveObjectEngine using System.Collections; public class ActiveObjectEngine { ArrayList itsCommands = new ArrayList(); public void AddCommand(Command c) { itsCommands.Add(c); } public void Run() { while (itsCommands.Count > 0) { Command c = (C
{}