mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 03:59:26 +02:00
작아져랏!
This commit is contained in:
@@ -137,10 +137,10 @@ public class HudUi {
|
|||||||
|
|
||||||
public void addWeapon(){
|
public void addWeapon(){
|
||||||
weapon = new Table(tx -> {
|
weapon = new Table(tx -> {
|
||||||
tx.defaults().minSize(24 * 8f);
|
tx.defaults().minSize(12 * 8f);
|
||||||
tx.left();
|
tx.left();
|
||||||
tx.table(scene.getStyle(Button.ButtonStyle.class).up, tt -> {
|
tx.table(scene.getStyle(Button.ButtonStyle.class).up, tt -> {
|
||||||
tt.defaults().minSize(8 * 8f);
|
tt.defaults().minSize(4 * 8f);
|
||||||
tt.left();
|
tt.left();
|
||||||
tt.top();
|
tt.top();
|
||||||
int amount = 0;
|
int amount = 0;
|
||||||
@@ -157,13 +157,13 @@ public class HudUi {
|
|||||||
weapontable.add(new Stack(){{
|
weapontable.add(new Stack(){{
|
||||||
add(new Table(o -> {
|
add(new Table(o -> {
|
||||||
o.left();
|
o.left();
|
||||||
o.image(region).size(60).scaling(Scaling.bounded);
|
o.image(region).size(30).scaling(Scaling.bounded);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
add(new Table(h -> {
|
add(new Table(h -> {
|
||||||
h.add(new Stack(){{
|
h.add(new Stack(){{
|
||||||
add(new Table(e -> {
|
add(new Table(e -> {
|
||||||
e.defaults().growX().height(9).width(42f).padRight(2*8).padTop(8*2f);
|
e.defaults().growX().height(9).width(21f).padRight(2*8).padTop(8*2f);
|
||||||
Bar reloadBar = new Bar(
|
Bar reloadBar = new Bar(
|
||||||
() -> "",
|
() -> "",
|
||||||
() -> Pal.accent.cpy().lerp(Color.orange, mount.reload / weapon.reload),
|
() -> Pal.accent.cpy().lerp(Color.orange, mount.reload / weapon.reload),
|
||||||
|
|||||||
Reference in New Issue
Block a user