Add and implement interfaces for systems (ISystem, IUpdatableSystem, etc.), move Color to Utils, rename Handlers/Renderers/Backends to System, move input related classes to an Input subfolder.

This commit is contained in:
2024-10-14 17:29:52 +02:00
parent 5227c390a1
commit f68f8f4b02
34 changed files with 189 additions and 143 deletions

View File

@@ -15,7 +15,7 @@ public class World : Drawable2d
_randomPositions[i] = MathUtils.RandomVector2(Position, Vector2.One * 2048f);
}
}
public override void OnDraw(Renderer renderer)
public override void OnDraw(RenderSystem renderer)
{
for (int i = 0; i < _rectangleAmount; i++)
{