public override void LoadContent() { lander = new Lander(StateManager.game); lander.Initialize(); VectorFont.Initialize(StateManager.game); terrain = new Terrain(StateManager.game); terrain.TerrainName = terrainFileName; terrain.Initialize(); sentScore = false; win = StateManager.Content.Load <SoundEffect>("LanderVictorySound"); lose = StateManager.Content.Load <SoundEffect>("LanderExplosionSound"); bgColor = Color.Black; oldKeyboardState = Keyboard.GetState(); }
public override void LoadContent() { StateManager.game.Window.Title = "Lunar Lander"; pb = GlobalValues.PrimitiveBatch; #region Lander Calls lander = new Lander(StateManager.game); lander.Initialize(); if (isFirstLoad) { ResetValues(); isFirstLoad = false; } #endregion }