protected override void Initialize() { IsMouseVisible = true; _gameState = new GameState(); base.Initialize(); }
protected override void LoadContent() { _gameObjects = new List<GameObject>(); _gameState = new GameState(); _spriteBatch = new SpriteBatch(GraphicsDevice); _spriteSheet = Content.Load<Texture2D>("GalagaSheet"); _introMusic = Content.Load<SoundEffect>("Sounds/galaga9"); _gameState.Font = Content.Load<SpriteFont>("Default"); _ship = new GameObject(new Vector2(GameState.MaxX / 2,GameState.MaxY-100), GraphicSource.PlayerShipWhite, false, false); _bitchShip = new GameObject(new Vector2(GameState.MaxX/2, GameState.MaxY - 100), GraphicSource.PlayerShipWhite, false, false); _bitchRibbon = new GameObject(new Vector2(GameState.MaxX - 25, GameState.MaxY - 26), GraphicSource.LevelRibbons, false, false); }