public void Draw(GameTime gameTime, SpriteBatch spriteBatch) { #if DEBUG if (world != null && player != null) { if (freeCameraActive) { world.Draw(gameTime, freeCamera, (int)player.WorldPosition.Y); player.player.Draw(freeCamera); } else { world.Draw(gameTime, camera, (int)player.WorldPosition.Y); player.player.Draw(camera); collect.Draw(spriteBatch); } #endif #if !DEBUG // World world.Draw(gameTime, camera); // UI #endif } }