Exemplo n.º 1
0
 public bool IsOther(GamePiece other) => Id != other.Id;
Exemplo n.º 2
0
 public bool IsEnemyOf(GamePiece other) => Team != other.Team;
Exemplo n.º 3
0
 public bool IsMe(GamePiece other) => Id == other.Id;
Exemplo n.º 4
0
 public bool IsAllyOf(GamePiece other) => Team == other.Team;