public void InitializeGameBoardWithCharacters(int gameLevel) { int d6 = random.Next(1, 7); MyArea.SetInvisible(MonsterList); MonsterList.Clear(); MyArea.ResetPositionToZero(MyHero); for (int i = 0; i < 3; i++) { int randomNumber = random.Next(MyArea.FreeTiles.Count); MonsterList.Add(new Skeleton(gameLevel, MyArea.FreeTiles[randomNumber], random.Next(1, 7))); if (i == 0) { ((Skeleton)MonsterList[i]).HasTheKey = true; } MyArea.DrawCharacter(MonsterList[i]); } int randomNumber2 = random.Next(MyArea.FreeTiles.Count); var boss = new Boss(gameLevel, MyArea.FreeTiles[randomNumber2], d6); MonsterList.Add(boss); MyArea.DrawCharacter(boss); MyTextBlock.Text = "Hero (Level " + MyHero.Level + ") HP: " + MyHero.CurrentHP + "/" + MyHero.MaxHP + " | DP: " + MyHero.DefendPoint + " | SP: " + MyHero.StrikePoint; }