public override void Init() { Color[] backgroundColor = new Color[Game1.ScreenWidth * Game1.ScreenHeight]; for (int i = 0; i < backgroundColor.Length; ++i) { backgroundColor[i] = Color.Black; } blackBackground = new Texture2D(graphicsDevice, Game1.ScreenWidth, Game1.ScreenHeight); blackBackground.SetData(backgroundColor); TmxMap map = new TmxMap("Content/Maps/map_dungeon.tmx"); TileMap = new TileMap(map); itemFactory = new ItemFactoryImpl(); Game1.Player = PlayerIdentitiesDepository.Mage(); Game1.Player.Position = new Vector2(2244, 1205); itemFactory.SetPlayer(Game1.Player); otherSprites = new List <Sprite> { itemFactory.CreateItemSprite(new Vector2(250f), itemFactory.CreateHealthPotion()) }; Game1.Player.Inventory.EquipItem(itemFactory.CreateRandomWeapon(ItemRarity.LEGENDARY)); hittableSprites = new List <Sprite>(); // for (int i = 240; i < 1500; i += 150) // { // Enemy monster3 = EnemyDepository.Zombie(new Vector2(1, i)); // hittableSprites.Add(monster3); // } camera = new Camera(Game1.Player); gui = new GUI(); var songs = new List <Song> { Content.Load <Song>("Sounds/LYbeat"), Content.Load <Song>("Sounds/NE"), Content.Load <Song>("Sounds/RM") }; //backgroundMusic = new BackgroundMusic(songs); }