コード例 #1
0
ファイル: GameTypeData.cs プロジェクト: pdxparrot/ggj2018
 public string GetWinText(BirdTypeData birdType)
 {
     return birdType.IsPredator ? PredatorWinText : PreyWinText;
 }
コード例 #2
0
ファイル: GameTypeData.cs プロジェクト: pdxparrot/ggj2018
 public string GetLossText(BirdTypeData birdType)
 {
     return birdType.IsPredator ? PredatorLossText : PreyLossText;
 }
コード例 #3
0
ファイル: GameTypeData.cs プロジェクト: pdxparrot/ggj2018
 public string GetWinConditionDescription(BirdTypeData birdType)
 {
     return birdType.IsPredator ? PredatorWinConditionDescription : PreyWinConditionDescription;
 }