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