Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Level"/> class.
        /// </summary>
        public Level(GameMode GameMode)
        {
            this.GameMode              = GameMode;
            this.WorkerManager         = new WorkerManager();
            this.CooldownManager       = new CooldownManager();
            this.ComponentManager      = new ComponentManager(this);
            this.GameObjectManager     = new GameObjectManager(this);
            this.UnitProductionManager = new UnitProductionManager(this);

            this.MissionManager = new MissionManager(this);

            this.TileMap = new TileMap(50, 50);
        }
Ejemplo n.º 2
0
        public Level()
        {
            this.GameObjectManager      = new GameObjectManager(this);
            this.WorkerManager          = new WorkerManager();
            this.WorkerManagerV2        = new WorkerManagerV2();
            this.ComponentManager       = new ComponentManager(this);
            this.UnitProductionManager  = new UnitProductionManager(this);
            this.SpellProductionManager = new SpellProductionManager(this);
            //this.CooldownManager = new CooldownManager(this);

            /*
             * this.MissionManager = new MissionManager(this);*/
        }