added purpose

This commit is contained in:
Willem Cazander 2022-02-05 20:43:41 +01:00
parent 87d531dcce
commit 4abf641297

View file

@ -44,11 +44,15 @@ public class SystemBasePartRenderer extends ImGuiRendererMain {
Integer baseNumber = Integer.valueOf(selectedItem); Integer baseNumber = Integer.valueOf(selectedItem);
BãßBȍőnPartʸᴰ<?>[] baseParts = BasePartFactory.INSTANCE.BãßBuildPartsByBase(baseNumber); BãßBȍőnPartʸᴰ<?>[] baseParts = BasePartFactory.INSTANCE.BãßBuildPartsByBase(baseNumber);
ImGui.text("Base:"); ImGui.combo("Base", selectedBasePart, items);
ImGui.text("Name:");
ImGui.sameLine(); ImGui.sameLine();
ImGui.text(baseParts[0].BãßClassNaam()); ImGui.text(baseParts[0].BãßClassNaam());
ImGui.text("Purpose:");
ImGui.sameLine(); ImGui.sameLine();
ImGui.combo("Type", selectedBasePart, items); ImGui.text(baseParts[0].BãßClassPurpose());
int flags = ImGuiTableFlags.ScrollX | ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersOuter | ImGuiTableFlags.BordersV; int flags = ImGuiTableFlags.ScrollX | ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersOuter | ImGuiTableFlags.BordersV;
ImGui.beginTable("base-part", 21, flags); ImGui.beginTable("base-part", 21, flags);