Beispiel #1
0
        public override void Draw(ShapeRenderer renderer)
        {
            renderer.DrawCircle(Area, 24, Color);

            Vector2 toPlayer = ConvertUnits.ToDisplayUnits(controller.DirectionToPlayer);
            //renderer.DrawLine(Area.Position, Area.Position + toPlayer, Color4.Red);
        }
Beispiel #2
0
 public override void Draw(ShapeRenderer renderer)
 {
     renderer.DrawCircle(ConvertUnits.ToDisplayUnits(physicsBody.Position), 1f, 4, Color4.OrangeRed);
 }
Beispiel #3
0
 public override void Draw(ShapeRenderer renderer)
 {
     renderer.DrawCircle(DisplayPosition, 1f, 6, Color);
 }