Implemented core item display (WIP)
This commit is contained in:
@@ -35,7 +35,6 @@ public class HudFragment extends Fragment{
|
||||
private Table lastUnlockLayout;
|
||||
private boolean shown = true;
|
||||
private float dsize = 47.2f;
|
||||
//TODO implement
|
||||
private CoreItemsDisplay coreItems = new CoreItemsDisplay();
|
||||
|
||||
private String hudText = "";
|
||||
@@ -203,6 +202,12 @@ public class HudFragment extends Fragment{
|
||||
t.top().right();
|
||||
});
|
||||
|
||||
//core items
|
||||
parent.fill(t -> {
|
||||
t.top().add(coreItems);
|
||||
t.visible(() -> Core.settings.getBool("coreitems") && !mobile);
|
||||
});
|
||||
|
||||
//spawner warning
|
||||
parent.fill(t -> {
|
||||
t.touchable(Touchable.disabled);
|
||||
|
||||
Reference in New Issue
Block a user