public void ShowPauseMenu() { gui.add(BackgroundLabel); gui.add(ResumeLabel); gui.add(EndTurnLabel); gui.add(QuitLabel); }
public GUILabel CreateGUILabel(Engine.GUI gui, Handle handle, Vector2 pos) { var GuiLabel = new GUILabel(gui, handle); GuiLabel.pos = pos; gui.add(GuiLabel); return(GuiLabel); }
public void initializeInfoBox() { Engine.GUI tempGUI = engine.graphicsComponent.gui; playerInfoLabel = new GUILabel(tempGUI, new Handle(engine.resourceComponent, "GUI\\PlayerInfoBg.png")); playerInfoOutlineLabel = new GUILabel(tempGUI, new Handle(engine.resourceComponent, "GUI\\PlayerInfoOutline.png")); healthInfoBox = new GUITextBox(tempGUI, ""); attackInfoBox = new GUITextBox(tempGUI, ""); levelInfoBox = new GUITextBox(tempGUI, ""); tempGUI.add(playerInfoOutlineLabel); tempGUI.add(playerInfoLabel); tempGUI.add(healthInfoBox); tempGUI.add(attackInfoBox); tempGUI.add(levelInfoBox); teamBox = new GUILabel(tempGUI); tempGUI.add(teamBox); }