API renames, change ref renderer to in renderer in IDrawable, make Layer implement IDrawable.

This commit is contained in:
2023-06-15 22:39:34 +02:00
parent bf4fb6e1e3
commit 964b903500
18 changed files with 122 additions and 67 deletions

13
TestGame/Circle2d.cs Normal file
View File

@@ -0,0 +1,13 @@
using DaggerFramework.Rendering;
using System.Drawing;
namespace DaggerFramework;
public class Circle2d : Drawable2d
{
public override void OnDraw(in Renderer renderer)
{
renderer.DrawCircle(32f, Color.AliceBlue);
}
}