public void StartMenu(object startInfo, string name) { secondaryPanel?.StartUI(null); mainPanel?.StartUI(startInfo); tertiaryPanel?.StartUI(name); quadrenaryPanel?.StartUI(PartyManager.curParty.gp); }
public void Victory(float gold, float exp) { Debug.Log("victory happened"); victoryInfo.Add("Victory!"); victoryInfo.Add(gold.ToString()); victoryInfo.Add(exp.ToString()); BattleStats expCarrier = new BattleStats(); expCarrier.modified = new Stats(); expCarrier.modified.exp = exp / objectsInBattle.pcsInBattle.Count; foreach (GameObject bPC in objectsInBattle.pcsInBattle) { Status statusToAdd; statusToAdd = victory.CreateStatusInstance(expCarrier); bPC.GetComponent <BattlePC>().AddStatus(statusToAdd); if ((bPC.GetComponent <BattlePC>().stats.modified.exp + expCarrier.modified.exp) > bPC.GetComponent <BattlePC>().stats.modified.nextLevel) { victoryInfo.Add(bPC.GetComponent <BattlePC>().displayName + " Leveled Up"); } } victoryDisplay.StartUI(victoryInfo); }
public void Interact() { dialogueWindow.StartUI(dialogue); }
public void DoSelectionBehavior(object notUsed) { menuToOpen.StartUI(shopItem); menuToClose.EndUI(null); }
public void DoSelectionBehavior(object notUsed) { menuToClose.EndUI(null); Debug.Log("PC SENT " + pc.battlePC.name); menuToOpen.StartUI(pc); }
private void ShowTitle() { battleTypeDisplay.StartUI(battleDef.encounterType.ToString()); }
public void DoSelectionBehavior(object obj) { menuToClose.EndUI(null); menuToOpen.StartUI(obj); }