Dungeonator  1.0.0
a dungeon generator library
Data Fields
Connectors Struct Reference

#include <connectors.h>

Data Fields

int regions [NUM_DIRECTIONS]
 
int num_regions
 
int x
 
int y
 
bool used
 

Detailed Description

A struct to represent a connection between 2 regions

Field Documentation

◆ num_regions

int Connectors::num_regions

the number of regions held by the array

◆ regions

int Connectors::regions[NUM_DIRECTIONS]

an array for the specific regions connected, with a max size of NUM_DIRECTIONS

◆ used

bool Connectors::used

a boolean value to indicate if the connector has already been used

◆ x

int Connectors::x

the x position of the connector

◆ y

int Connectors::y

the y position of the connector


The documentation for this struct was generated from the following file: