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