コード例 #1
0
ファイル: GameType.cs プロジェクト: alexjneves/Neuromon
 public bool IsWeakAgainst(GameType otherGameType)
 {
     return _weak.Any(type => type == otherGameType.Name);
 }
コード例 #2
0
ファイル: GameType.cs プロジェクト: alexjneves/Neuromon
 public bool IsEffectiveAgainst(GameType otherGameType)
 {
     return _effective.Any(type => type == otherGameType.Name);
 }