コード例 #1
0
ファイル: GamePiece.cs プロジェクト: bjornarprytz/Archetype
 public bool IsOther(GamePiece other) => Id != other.Id;
コード例 #2
0
ファイル: GamePiece.cs プロジェクト: bjornarprytz/Archetype
 public bool IsEnemyOf(GamePiece other) => Team != other.Team;
コード例 #3
0
ファイル: GamePiece.cs プロジェクト: bjornarprytz/Archetype
 public bool IsMe(GamePiece other) => Id == other.Id;
コード例 #4
0
ファイル: GamePiece.cs プロジェクト: bjornarprytz/Archetype
 public bool IsAllyOf(GamePiece other) => Team == other.Team;