From 4abf6412973dac835856284997285d111636b5ee Mon Sep 17 00:00:00 2001 From: Willem Cazander Date: Sat, 5 Feb 2022 20:43:41 +0100 Subject: [PATCH] added purpose --- .../gdxapp/screen/SystemBasePartRenderer.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/screen/SystemBasePartRenderer.java b/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/screen/SystemBasePartRenderer.java index 35498515..e67e9f34 100644 --- a/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/screen/SystemBasePartRenderer.java +++ b/demo4d-gdxapp/src/main/love/distributedrebirth/gdxapp/screen/SystemBasePartRenderer.java @@ -44,11 +44,15 @@ public class SystemBasePartRenderer extends ImGuiRendererMain { Integer baseNumber = Integer.valueOf(selectedItem); BãßBȍőnPartʸᴰ[] baseParts = BasePartFactory.INSTANCE.BãßBuildPartsByBase(baseNumber); - ImGui.text("Base:"); + ImGui.combo("Base", selectedBasePart, items); + + ImGui.text("Name:"); ImGui.sameLine(); ImGui.text(baseParts[0].BãßClassNaam()); + + ImGui.text("Purpose:"); ImGui.sameLine(); - ImGui.combo("Type", selectedBasePart, items); + ImGui.text(baseParts[0].BãßClassPurpose()); int flags = ImGuiTableFlags.ScrollX | ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersOuter | ImGuiTableFlags.BordersV; ImGui.beginTable("base-part", 21, flags);