mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-15 18:51:55 +08:00
OpenGL rendering hooked up. Better platform layer abstraction
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ namespace Strawberry
|
||||
|
||||
public override void Draw()
|
||||
{
|
||||
DrawHitbox(.(255, 255, 255, 255));
|
||||
DrawHitbox(.White);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user