public void Update(GameTime gameTime) { world.Update(gameTime); player.Update(gameTime); collect.Update(gameTime); camera.Update(); #if DEBUG UpdateFreeCamera(); #endif if (player?.spotsLeft == 1 || Keyboard.GetState().IsKeyDown(Keys.Home)) { // Win Victory(collect.timeScore); } }