protected override void LoadScreenContent(ContentManager content) { base.LoadContent(content); World.Gravity = new Vector2(0f, 0f); Globals.SetGeneral(content, Device, World); Globals.AssetCreatorr.LoadContent(content); Globals.SetLevelSpecific(new MobManager(), new RandomMap()); player = new Player(content, Globals.map.GetRandomFreePos()); Globals.player = player; HUDPlayerInfo = new HUDPlayerInfo(content, player); for (int i = 0; i < 10; i++) Globals.Mobs.AddMonster(BaseMonster.MonTypes.Normal, Globals.map.GetRandomFreePos(), Globals.rand.Next(8) + 2); }
internal void SetThisHUD(HUDPlayerInfo HUD) { this.HUD = HUD; }