Beispiel #1
0
    public void Practive()
    {
        MainGameMode mgm = pCoreMgr.GetGameMode() as MainGameMode;

        if (ActionPoints < mgm.GetPracticeCost())
        {
            return;
        }
        ActionPoints -= mgm.GetPracticeCost();
        mgm.TurnPracticeNum++;
    }
Beispiel #2
0
    public bool CanPractice()
    {
        MainGameMode mgm = pCoreMgr.GetGameMode() as MainGameMode;

        if (ActionPoints < mgm.GetPracticeCost())
        {
            return(false);
        }
        return(true);
    }
Beispiel #3
0
 public void UpdateActionCost()
 {
     view.ActionCost.text = "消耗" + mainGameMode.GetPracticeCost() + "点";
 }