protected bool isWall(int x, int y) { return(myMap.getWallPosSet().Contains(myMap.TwoDToOneD(x, y))); }