public virtual void Draw(SpriteBatch spriteBatch, GameTime gameTime) { #if DEBUG Color color = Color.White; switch (this) { case Player _: color = Color.Green; break; case Coin _: color = Color.Red; break; case Wall _: color = Color.Blue; break; } if (Collider.Active) { spriteBatch.Draw( Collider.GetType() == typeof(CollisionRectangle) ? game.pixel : game.circle, Collider.ToRectangle(), new Color(color, 20) ); } #endif }