Пример #1
0
        public DungeonPassage(Texture2D texture, int rows, int columns, Texture2D enemyTexture, Texture2D buttonTexture, SpriteFont font,
                              Texture2D dungeon, Texture2D boss) :
            base(texture, rows, columns, enemyTexture, buttonTexture, font, dungeon, boss)
        {
            this.MapCubes = getMapCubes();
            getBoundingBoxes();
            DungeonBoxes.Add(new BoundingBox(new Vector3(703, 181, 0), new Vector3(737, 224, 0)));

            Level          = 3;
            MapDifficulty  = CharacterClassLibrary.Enums.MissionDifficulty.casual;
            Id             = 3;
            North          = 4;
            East           = 0;
            South          = 2;
            West           = 0;
            StartingPoints = new List <Vector2>()
            {
                new Vector2(400, 450), new Vector2(725, 243), new Vector2(480, 20)
            };
            RespawnPoint = new Vector2(365, 200);

            Enemies = new List <Enemy>()
            {
                new Enemy(enemyTexture, 20f, new Vector2(390, 385), new Vector2(395, 385), new Vector2(375, 365)),
                new Enemy(enemyTexture, 23f, new Vector2(400, 322), new Vector2(525, 322), new Vector2(370, 322)),
                new Enemy(enemyTexture, 25f, new Vector2(650, 260), new Vector2(565, 257), new Vector2(700, 262)),
                new Enemy(enemyTexture, 35f, new Vector2(350, 150), new Vector2(350, 90), new Vector2(350, 210)),
                new Enemy(enemyTexture, 25f, new Vector2(210, 85), new Vector2(230, 100), new Vector2(185, 25)),
            };
            createCombatBoxes();
        }
Пример #2
0
        public Islands(Texture2D texture, int rows, int columns, Texture2D enemyTexture, Texture2D buttonTexture, SpriteFont font,
                       Texture2D dungeon, Texture2D boss) :
            base(texture, rows, columns, enemyTexture, buttonTexture, font, dungeon, boss)
        {
            this.MapCubes = getMapCubes();
            getBoundingBoxes();

            Level          = 5;
            MapDifficulty  = CharacterClassLibrary.Enums.MissionDifficulty.casual;
            Id             = 4;
            North          = 0;
            East           = 0;
            South          = 3;
            West           = 0;
            StartingPoints = new List <Vector2>()
            {
                new Vector2(450, 440), new Vector2(110, 80)
            };
            RespawnPoint = new Vector2(450, 440);
            DungeonBoxes.Add(new BoundingBox(new Vector3(95, 20, 0), new Vector3(130, 63, 0)));

            Enemies = new List <Enemy>()
            {
                new Enemy(enemyTexture, 20f, new Vector2(450, 350), new Vector2(410, 350), new Vector2(455, 350)),
                new Enemy(enemyTexture, 20f, new Vector2(450, 230), new Vector2(490, 184), new Vector2(450, 230)),
                new Enemy(enemyTexture, 30f, new Vector2(300, 100), new Vector2(250, 100), new Vector2(350, 100)),
                new Enemy(enemyTexture, 28f, new Vector2(200, 130), new Vector2(230, 130), new Vector2(80, 130)),
                new Enemy(enemyTexture, 20f, new Vector2(80, 140), new Vector2(80, 225), new Vector2(80, 140)),
                new Enemy(enemyTexture, 23f, new Vector2(50, 300), new Vector2(80, 270), new Vector2(35, 350)),
            };
            createCombatBoxes();
        }
Пример #3
0
        public Castle(Texture2D texture, int rows, int columns, Texture2D enemyTexture, Texture2D buttonTexture, SpriteFont font,
                      Texture2D dungeon, Texture2D boss) : base(texture, rows, columns, enemyTexture, buttonTexture, font,
                                                                dungeon, boss)
        {
            MapCubes = getMapCubes();
            getBoundingBoxes();
            DungeonBoxes.Add(new BoundingBox(new Vector3(32, 438, 0), new Vector3(64, 480, 0)));
            DungeonBoxes.Add(new BoundingBox(new Vector3(700, 400, 0), new Vector3(735, 455, 0)));

            Level          = 7;
            MapDifficulty  = CharacterClassLibrary.Enums.MissionDifficulty.hc;
            Id             = 4;
            North          = 0;
            East           = 0;
            South          = 0;
            West           = 0;
            StartingPoints = new List <Vector2>()
            {
                new Vector2(50, 420)
            };
            RespawnPoint = new Vector2(50, 420);

            Enemies = new List <Enemy>()
            {
                new Enemy(enemyTexture, 20f, new Vector2(60, 250), new Vector2(30, 295), new Vector2(130, 225)),
                new Enemy(enemyTexture, 21f, new Vector2(60, 145), new Vector2(170, 155), new Vector2(30, 135)),
                new Enemy(enemyTexture, 23f, new Vector2(150, 40), new Vector2(190, 70), new Vector2(150, 40)),
                new Enemy(enemyTexture, 28f, new Vector2(345, 80), new Vector2(345, 70), new Vector2(395, 150)),
                new Enemy(enemyTexture, 23f, new Vector2(220, 340), new Vector2(220, 320), new Vector2(220, 380)),
                new Enemy(enemyTexture, 25f, new Vector2(350, 350), new Vector2(420, 290), new Vector2(350, 360)),
                new Enemy(enemyTexture, 28f, new Vector2(575, 345), new Vector2(575, 420), new Vector2(575, 280)),
                new Enemy(enemyTexture, 19f, new Vector2(505, 60), new Vector2(500, 30), new Vector2(515, 100)),
                new Enemy(enemyTexture, 26f, new Vector2(700, 50), new Vector2(745, 40), new Vector2(630, 60)),
                new Enemy(enemyTexture, 20f, new Vector2(638, 140), new Vector2(638, 205), new Vector2(638, 120)),
            };
            createCombatBoxes();
            Bosses = new List <Boss>()
            {
                new Boss(boss, new Vector2(314, 194), 4),
                new Boss(boss, new Vector2(520, 155), 5),
                new Boss(boss, new Vector2(690, 320), 6)
            };
            createBossBoxes();
            CombatBoxes.AddRange(BossBoxes);
        }
Пример #4
0
        public Cave(Texture2D texture, int rows, int columns, Texture2D enemyTexture, Texture2D buttonTexture, SpriteFont font,
                    Texture2D dungeon, Texture2D boss) : base(texture, rows, columns, enemyTexture, buttonTexture, font,
                                                              dungeon, boss)
        {
            MapCubes = getMapCubes();
            getBoundingBoxes();
            DungeonBoxes.Add(new BoundingBox(new Vector3(0, 450, 0), new Vector3(25, 480, 0)));
            DungeonBoxes.Add(new BoundingBox(new Vector3(700, 400, 0), new Vector3(735, 455, 0)));

            Level          = 4;
            MapDifficulty  = CharacterClassLibrary.Enums.MissionDifficulty.dungeon;
            Id             = 3;
            North          = 0;
            East           = 0;
            South          = 0;
            West           = 0;
            StartingPoints = new List <Vector2>()
            {
                new Vector2(50, 440)
            };
            RespawnPoint = new Vector2(50, 440);
            bossFightId  = 1;

            Enemies = new List <Enemy>()
            {
                new Enemy(enemyTexture, 20f, new Vector2(480, 250), new Vector2(480, 180), new Vector2(480, 270)),
                new Enemy(enemyTexture, 21f, new Vector2(150, 420), new Vector2(90, 420), new Vector2(170, 420)),
                new Enemy(enemyTexture, 23f, new Vector2(40, 340), new Vector2(40, 365), new Vector2(30, 315)),
                new Enemy(enemyTexture, 18f, new Vector2(40, 150), new Vector2(30, 100), new Vector2(40, 200)),
                new Enemy(enemyTexture, 20f, new Vector2(160, 75), new Vector2(120, 65), new Vector2(200, 150)),
                new Enemy(enemyTexture, 25f, new Vector2(450, 100), new Vector2(415, 70), new Vector2(465, 101)),
                new Enemy(enemyTexture, 17f, new Vector2(250, 345), new Vector2(220, 380), new Vector2(250, 345)),
                new Enemy(enemyTexture, 30f, new Vector2(735, 160), new Vector2(735, 60), new Vector2(735, 250)),
                new Enemy(enemyTexture, 20f, new Vector2(638, 140), new Vector2(638, 205), new Vector2(638, 135)),
            };
            createCombatBoxes();
            Bosses = new List <Boss>()
            {
                new Boss(boss, new Vector2(350, 170), 1),
                new Boss(boss, new Vector2(380, 340), 2),
                new Boss(boss, new Vector2(720, 350), 3)
            };
            createBossBoxes();
            CombatBoxes.AddRange(BossBoxes);
        }