Beispiel #1
0
        public EnemyManager()
        {
            m_Managers[0] = new BeesManager();
            m_Managers[1] = new SpiderManager();
            m_Managers[2] = new PixieManager();
            m_Managers[3] = new ImpManager();
            m_Managers[4] = new UndeadUnicornManager();
            m_Managers[5] = new BunnyManager();
            m_Managers[6] = new ButterflyManager();

               /* addEnemy(new Vector2(10, 600), EnemyType.BEES);
            addEnemy(new Vector2(10, 400), EnemyType.SPIDER);
            addEnemy(new Vector2(40, 400), EnemyType.SPIDER);
            addEnemy(new Vector2(10, 600), EnemyType.IMP);
            addEnemy(new Vector2(10, 600), EnemyType.PIXIE); */
              //  addEnemy(new Vector2(10, 600), EnemyType.UNDEADUNICORN);
        }
Beispiel #2
0
        public EnemyManager()
        {
            m_Managers[0] = new BeesManager();
            m_Managers[1] = new SpiderManager();
            m_Managers[2] = new PixieManager();
            m_Managers[3] = new ImpManager();
            m_Managers[4] = new UndeadUnicornManager();
            m_Managers[5] = new BunnyManager();
            m_Managers[6] = new ButterflyManager();

            /* addEnemy(new Vector2(10, 600), EnemyType.BEES);
             * addEnemy(new Vector2(10, 400), EnemyType.SPIDER);
             * addEnemy(new Vector2(40, 400), EnemyType.SPIDER);
             * addEnemy(new Vector2(10, 600), EnemyType.IMP);
             * addEnemy(new Vector2(10, 600), EnemyType.PIXIE); */
            //  addEnemy(new Vector2(10, 600), EnemyType.UNDEADUNICORN);
        }