Ejemplo n.º 1
0
 public static bool Include(this MonsterPositions positions, MonsterPosition otherPosition) =>
 positions.Include(otherPosition.ToPositions());
Ejemplo n.º 2
0
 public void Add(MonsterPosition position)
 {
     Positions |= position.ToPositions();
 }
Ejemplo n.º 3
0
 public static bool Include(this MonsterPositions positions, MonsterPositions otherPositions) =>
 (positions & otherPositions) != 0;