GetTowerStats() public method

public GetTowerStats ( ) : TowerStats
return SafeAndFree.Data.TowerStats
コード例 #1
0
 private void UpdateTower(Tower theOneToOneUp)
 {
     if (theOneToOneUp.CanLevel && CurrentPlayer.WithdrawalMoney(theOneToOneUp.GetTowerStats().CostToNext))
     {
         theOneToOneUp.LevelUp();
     }
 }
コード例 #2
0
ファイル: Board.cs プロジェクト: mokasocial/PrivacyDefense
 private void UpdateTower(Tower theOneToOneUp)
 {
     if (theOneToOneUp.CanLevel && CurrentPlayer.WithdrawalMoney(theOneToOneUp.GetTowerStats().CostToNext))
     {
         theOneToOneUp.LevelUp();
     }
 }