protected override void LoadContent() { skyBox.Load(this.Content, "Textures\\SkyBoxes\\BlueSky\\SkyEffect", "Textures\\SkyBoxes\\BlueSky\\SkyBoxTex"); font = Content.Load <SpriteFont>("Fonts\\gameFont"); sexyTexture = Content.Load <Texture2D>("Textures\\lolbar"); staminaTex = Content.Load <Texture2D>("Textures\\yellowGradient"); healthTex = Content.Load <Texture2D>("Textures\\greenGradient"); backBar = Content.Load <Texture2D>("Textures\\rock"); infinity = Content.Load <Texture2D>("Textures\\infinity"); LoadCharacterModels(); if (NetworkManager == null || networkManager.GetType().Equals(typeof(ServerNetworkManager))) { LoadMap(); } if (NetworkManager != null) { this.NetworkManager.Connect(); } gameManager.Init(this); soundManager.StartBackgroundMusic(); }
protected void Load() { asteroidManager.Load(); player.Load(); tunnel.Load(); skybox.Load(); gameOverFont = Game.Content.Load <SpriteFont>("Fonts\\menuHuge"); base.LoadContent(); }