protected override void Update(GameTime gameTime) { gameState = AsteroidGame.updateState( Keyboard.GetState(), Mouse.GetState(), (float)gameTime.ElapsedGameTime.TotalSeconds, gameState); base.Update(gameTime); }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); gameState = AsteroidGame.initialState(); base.LoadContent(); }