Levels are now expanded out as you travel down and the stairs are only placed at the end of the level instead of randomly.
This commit is contained in:
parent
82216b8307
commit
59a6882b70
11 changed files with 57 additions and 10 deletions
|
@ -15,7 +15,7 @@ struct Point {
|
|||
|
||||
typedef std::vector<Point> PointList;
|
||||
|
||||
struct PointHash {
|
||||
template<> struct std::hash<Point> {
|
||||
size_t operator()(const Point& p) const {
|
||||
return std::hash<int>()(p.x) ^ std::hash<int>()(p.y);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue