예제 #1
0
 //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);
 }
예제 #2
0
    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);
        }
    }
예제 #3
0
    /*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);
    }
예제 #4
0
 void DragonSwitchClick()
 {
     dst = DragonSelectType.SwappingDragon;
     ShowDragonSelectPanel(true);
 }