helapordo 1.4.12
Loading...
Searching...
No Matches
Room Struct Reference

Represents the entity initialised from a roomClass. More...

#include <game_core.h>

Collaboration diagram for Room:

Data Fields

int index
 The room's own number.
 
char * desc
 Description string.
 
roomClass class
 Defines which kind of roomClass the instance relates to.
 
Shopshop
 The shop pointer, initialised for rooms of class SHOP.
 
Roadforkroadfork
 The roadfork pointer, initialised for rooms of class ROADFORK.
 
Treasuretreasure
 The treasure pointer, initialised for rooms of class TREASURE.
 
Bossboss
 The boss pointer, initialised for rooms of class BOSS.
 
int enemyTotal
 Total number of enemies initialised in enemies array.
 
Enemyenemies [ROOM_ENEMIES_MAX]
 Array for enemies.
 
FoePartyfoes
 The FoeParty pointer, initialised for rooms of class ENEMIES.
 

Detailed Description

Represents the entity initialised from a roomClass.

See also
roomClass
Shop
Enemy

Field Documentation

◆ boss

Boss* Room::boss

The boss pointer, initialised for rooms of class BOSS.

◆ class

roomClass Room::class

Defines which kind of roomClass the instance relates to.

◆ desc

char* Room::desc

Description string.

◆ enemies

Enemy* Room::enemies[ROOM_ENEMIES_MAX]

Array for enemies.

◆ enemyTotal

int Room::enemyTotal

Total number of enemies initialised in enemies array.

◆ foes

FoeParty* Room::foes

The FoeParty pointer, initialised for rooms of class ENEMIES.

◆ index

int Room::index

The room's own number.

◆ roadfork

Roadfork* Room::roadfork

The roadfork pointer, initialised for rooms of class ROADFORK.

◆ shop

Shop* Room::shop

The shop pointer, initialised for rooms of class SHOP.

◆ treasure

Treasure* Room::treasure

The treasure pointer, initialised for rooms of class TREASURE.


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