bool Bitmap::pointInShape(boost::int32_t x, boost::int32_t y) const { return pointInBounds(x, y); }
bool Maze::isWall(pointT p1, pointT p2) { if (!pointInBounds(p1) || !pointInBounds(p2)) Error("Point is not in bounds for maze"); return cells(p1.row, p1.col).walls[neighborDir(p1, p2)]; }