コード例 #1
0
ファイル: Unit.cs プロジェクト: hiyouke/colonist
 /// <summary>
 /// Determines whether this instance is speecial attack applicable the specified acceptedAttackType.
 /// </summary>
 public bool IsSpeecialAttackApplicable(PredatorPlayerSpecialAttackType specialAttackType)
 {
     return this.ApplicablePredatorPlayerSpecialAttackTypes.Contains(specialAttackType);
 }
コード例 #2
0
 /// <summary>
 /// Determines whether this instance is speecial attack applicable the specified acceptedAttackType.
 /// </summary>
 public bool IsSpeecialAttackApplicable(PredatorPlayerSpecialAttackType specialAttackType)
 {
     return(this.ApplicablePredatorPlayerSpecialAttackTypes.Contains(specialAttackType));
 }