This commit is contained in:
2023-02-28 20:58:31 +01:00
commit f3ce543614
41 changed files with 4757 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System.Drawing;
using DaggerFramework.Rendering;
namespace DaggerFramework
{
public class CircleShape2d : Drawable2d
{
public float Radius { get => _radius; set => _radius = value; }
public Color Color { get => _color; set => _color = value; }
public override void OnDraw(ref Renderer renderer)
{
renderer.DrawCircle(_radius, _color);
}
private float _radius;
private System.Drawing.Color _color;
}
}