sraaphorst / spelunker

Maze generation and solving library
Other
11 stars 2 forks source link

T95: Switched to smart pointers #107

Closed sraaphorst closed 6 years ago

sraaphorst commented 6 years ago

In order to be able to use unique_ptr, I rewrote the ThickMazeGenerators and MazeGenerators to be classes.

The ThickMazeGeneratorByHomomorphism is now a template with a MazeGenerator parameter.

I also improved the test script to have more pleasant colours, since they looked very different in Travis than they do on my local machine.