#include <diamon.h>
Inheritance diagram for MapGen::Diamon:

Public Member Functions | |
| Diamon (uint order) | |
| Map * | render () const |
Private Member Functions | |
| float | _all (const uint p) const |
| void | _sub (Map *map, const uint x1, const uint y1, const uint x2, const uint y2) const |
Private Attributes | |
| uint | _side |
Definition at line 32 of file diamon.h.
|
|
order is log2 of produced map side Definition at line 29 of file diamon.cpp. |
1.4.2