Add Lines::findChar() to search for starting points in mazes
This commit is contained in:
@@ -32,6 +32,7 @@ class Lines
|
||||
bool isInBounds(const Point2& point) const;
|
||||
char getCharAt(const Point2& point) const;
|
||||
void setCharAt(const Point2& point, const char value);
|
||||
Point2 findChar(const char c) const;
|
||||
};
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const Lines& lines);
|
||||
|
||||
Reference in New Issue
Block a user