p a t h f i n d e r = p.a.i.n

This commit is contained in:
sharlotte
2021-08-15 22:03:01 +09:00
parent 4532e608b5
commit 8b9648c298
3 changed files with 46 additions and 0 deletions

View File

@@ -372,6 +372,13 @@ public class HudUi {
ttt.right().bottom();
ttt.add(new Label(() -> Groups.unit.count(u -> u.type == type && u.team == state.rules.waveTeam && u.isBoss()) + ""));
}));
add(new Table(ttt -> {
ttt.top().right();
Image image = new Image(Icon.warning.getRegion()).setScaling(Scaling.fit);
image.update(() -> image.setColor(Tmp.c2.set(Color.orange).lerp(Color.scarlet, Mathf.absin(Time.time, 2f, 1f))));
ttt.add(image).size(Scl.scl(modUiScale < 1 ? modUiScale : 1) * 12f);
ttt.pack();
}));
}}).pad(6);
if(++i[0] % 6 == 0) tt.row();
});