rewrap to fit line length

This commit is contained in:
Colin McMillen 2021-07-14 17:19:31 -04:00
parent bd8df00305
commit b98bb61bd9

View File

@ -109,7 +109,8 @@ namespace SemiColinGames {
// Draw in-world UI on top of everything. // Draw in-world UI on top of everything.
spriteBatch.Begin( spriteBatch.Begin(
SpriteSortMode.Deferred, null, SamplerState.PointClamp, null, null, null, Matrix.Identity); SpriteSortMode.Deferred, null, SamplerState.PointClamp, null, null, null,
Matrix.Identity);
for (int i = 0; i < world.Player.MaxHealth; i++) { for (int i = 0; i < world.Player.MaxHealth; i++) {
Vector2 pos = new Vector2(16 + 15 * i, 8); Vector2 pos = new Vector2(16 + 15 * i, 8);
if (world.Player.Health > i) { if (world.Player.Health > i) {