A bit of late night work designing the little iterators.
This commit is contained in:
parent
da0b941dfd
commit
8e470df554
11 changed files with 115 additions and 235 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue