//replace an old dragon with a newly captured one public void ReplaceDragon() { dst = DragonSelectType.ReleasingDragon; DisplayLine("Party is full."); DisplayLine("Choose a dragon to release."); ShowDragonSelectPanel(true); }
void DragonSelect(int code, DragonSelectType dst) { DragonCode = code; ShowDragonSelectPanel(false); ShowDragonPanel(false); ShowMainMenu(true); //dragon select is being used to choose which dragon to swap in if (dst == DragonSelectType.SwappingDragon) { CM.QueueDragonSwitch(DragonCode); } //dragon select is being used to choose which dragon to release else if (dst == DragonSelectType.ReleasingDragon) { CM.ReplaceDragon(DragonCode); } //dragon select is being used to choose which dragon to send out after one has died else { CM.SwitchDragon(DragonCode); } }
/*public void ReplaceSpell() * { * useSpell = false; * DisplayLine(CM.Dragon.GetName()""); * }*/ //choose a dragon to replace one that has run out of health public void SendOutDragon() { dst = DragonSelectType.SendingOutDragon; ShowDragonSelectPanel(true); }
void DragonSwitchClick() { dst = DragonSelectType.SwappingDragon; ShowDragonSelectPanel(true); }