Add Lines::findChar() to search for starting points in mazes

This commit is contained in:
2025-06-03 19:21:08 +02:00
parent 2afa527a85
commit 21e154ed34
8 changed files with 25 additions and 29 deletions

View File

@@ -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);