Map Queries

Maps have a map.get_at_pixel(x, y) query which will return the Cell at that position in the Map.

Given a Cell object you may also as map.get_neighbor(cell, direction) to get the Cell which is in the direction (one of map.UP, map.DOWN, map.LEFT or map.RIGHT.)