OpenGL rendering hooked up. Better platform layer abstraction

This commit is contained in:
Matt Thorson committed 2020-08-16 22:00:13 -07:00
1 parent 5d62a86947
commit 1c084b55f9
21 files changed
+669 -450

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ namespace Strawberry
for (let x < CellsX)
for (let y < CellsY)
if (this[x, y] != '0')
Draw.Rect(Rect(x, y, 1, 1) * CellSize + Offset, color);
Game.Batcher.Rect(Rect(x, y, 1, 1) * CellSize + Offset, color);
}
}
}
+1 -1
View File
@@ -88,7 +88,7 @@ namespace Strawberry
public override void Draw()
{
DrawHitbox(.(255, 255, 255, 255));
DrawHitbox(.White);
}
}
}