Beispiel #1
0
        public override void Draw(IFlyDrawContext drawContext)
        {
            Xna.Vector2    center   = this.Entity.Position.ToXna();
            IShapeRenderer renderer = drawContext.ShapeRenderer;

            renderer.DrawSolidCircleWithoutRotationIndicator(center, this.Radius, Xna.Vector2.One, this.FinalColor);
            renderer.DrawSolidCircleWithoutRotationIndicator(center, this.Radius * 0.2f, Xna.Vector2.One, this.FinalColor);
        }