Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.

This commit is contained in:
Zed A. Shaw 2024-12-05 08:41:10 -05:00
parent 9abb39a3bf
commit eb0ca38e30
19 changed files with 50 additions and 58 deletions

View file

@ -4,14 +4,12 @@
class Pathing {
public:
int $limit;
size_t $width;
size_t $height;
Matrix $paths;
Matrix $input;
Pathing(size_t width, size_t height, int limit) :
$limit(limit),
Pathing(size_t width, size_t height) :
$width(width),
$height(height),
$paths(height, MatrixRow(width, 1)),