|
Dungeonator
1.0.0
a dungeon generator library
|
#include <connectors.h>
Data Fields | |
| int | regions [NUM_DIRECTIONS] |
| int | num_regions |
| int | x |
| int | y |
| bool | used |
A struct to represent a connection between 2 regions
| int Connectors::num_regions |
the number of regions held by the array
| int Connectors::regions[NUM_DIRECTIONS] |
an array for the specific regions connected, with a max size of NUM_DIRECTIONS
| bool Connectors::used |
a boolean value to indicate if the connector has already been used
| int Connectors::x |
the x position of the connector
| int Connectors::y |
the y position of the connector