DrawWaterDebug() public method

public DrawWaterDebug ( World world ) : void
world Ballz.GameSession.World.World
return void
        public override void Draw(GameTime gameTime)
        {
            //DrawSphere(Vector2.Zero, new Vector2(0.0f,1.0f));
            var debugWorld = Game.Match?.World;

            if (debugWorld == null)
            {
                return;
            }

            foreach (Entity ball in debugWorld.Entities)
            {
                if (ball.Disposed)
                {
                    continue;
                }

                DrawSphere(ball.Position, ball.Rotation, ball.Radius, ball.PhysicsBody?.Awake ?? false);
            }

            foreach (var rope in debugWorld.Ropes)
            {
                DrawRope(rope);
            }

            DrawTerrain();
            WaterRenderer.DrawWaterDebug(debugWorld);

            base.Draw(gameTime);
        }