Example #1
0
 public IEnumerable <Position> SurroundingMoveable(GameMap map)
 {
     return(Surrounding(map).Where(p => (p.X != X) != (p.Y != Y)));
 }
Example #2
0
 public IList <Position> Surrounding(GameMap map, bool include = false)
 {
     return(Surrounding(map, 1, include));
 }