Merge remote-tracking branch 'origin/main'

This commit is contained in:
Rosia E Evans 2024-04-21 16:00:56 +01:00
commit acf86e5507

View file

@ -133,15 +133,7 @@ public class Game extends ApplicationAdapter {
die.render(batch); die.render(batch);
} }
int y = Gdx.graphics.getHeight() - 50; int y = Gdx.graphics.getHeight() / 3 * 2 - 25;
for (Segment segment : round.getSegments()) {
String prefix = "[#9E65A8]";
if (segment.isDestroyed()) prefix = "[#EBE5EC]";
else if (segment.isDestroyedBy(getSelectedDice())) prefix = "[#528154]";
font.draw(batch, prefix + segment.getName(), 100, y -= 20);
}
y -= 50;
for (Decay decay : round.getDecays()) { for (Decay decay : round.getDecays()) {
font.draw(batch, "[#9E65A8]" + decay.getDescription(), 100, y -= 20); font.draw(batch, "[#9E65A8]" + decay.getDescription(), 100, y -= 20);
} }