public void Practive() { MainGameMode mgm = pCoreMgr.GetGameMode() as MainGameMode; if (ActionPoints < mgm.GetPracticeCost()) { return; } ActionPoints -= mgm.GetPracticeCost(); mgm.TurnPracticeNum++; }
public bool CanPractice() { MainGameMode mgm = pCoreMgr.GetGameMode() as MainGameMode; if (ActionPoints < mgm.GetPracticeCost()) { return(false); } return(true); }
public void UpdateActionCost() { view.ActionCost.text = "消耗" + mainGameMode.GetPracticeCost() + "点"; }