Dungeonator  1.0.0
a dungeon generator library
Data Fields
Rooms Struct Reference

#include <rooms.h>

Data Fields

int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

a struct to represent a room, used to determine overlapping

Field Documentation

◆ x1

int Rooms::x1

the left x coordinate of a room

◆ x2

int Rooms::x2

the right x coordiante of a room

◆ y1

int Rooms::y1

the top y coordinate of a room

◆ y2

int Rooms::y2

the bottom y coordinate of a room


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