A bit of late night work designing the little iterators.

This commit is contained in:
Zed A. Shaw 2024-12-14 11:00:52 -05:00
parent da0b941dfd
commit 8e470df554
11 changed files with 115 additions and 235 deletions

View file

@ -3,6 +3,7 @@
#include "matrix.hpp"
#include <functional>
using matrix::Matrix;
class Pathing {
public:
@ -14,8 +15,8 @@ public:
Pathing(size_t width, size_t height) :
$width(width),
$height(height),
$paths(height, MatrixRow(width, 1)),
$input(height, MatrixRow(width, 1))
$paths(height, matrix::Row(width, 1)),
$input(height, matrix::Row(width, 1))
{}
void compute_paths(Matrix &walls);