helapordo 1.4.21
Loading...
Searching...
No Matches
Gamestate Struct Reference

Holds arguments for a game. More...

#include <game_core.h>

Collaboration diagram for Gamestate:

Data Fields

clock_t start_time
 Keeps track of game start time.
countStats * stats
 Keeps track of stats for the game.
int current_fighters
 Keeps track of Fighter number for the game.
roomClass current_roomtype
 Keeps track of current room type.
int current_room_index
 Keeps track of current room index.
int current_enemy_index
 Keeps track of current enemy index.
Wincon * wincon
 Keeps track of current Wincon.
Path * path
 Keeps track of current Path.
Fighter * player
 Keeps track of current Player.
Gamemode gamemode
 Keeps track of current Gamemode.
Floor * current_floor
 Pointer to current floor, initialised when gamemode==Rogue.
Room * current_room
 Pointer to current room.
GameOptions * options
 Keeps track of current options.
bool is_seeded
 Denotes if the current game was started with a set seed.

Detailed Description

Holds arguments for a game.

See also
countStats
roomClass
Wincon
Path
GameOptions

Field Documentation

◆ current_enemy_index

int Gamestate::current_enemy_index

Keeps track of current enemy index.

◆ current_fighters

int Gamestate::current_fighters

Keeps track of Fighter number for the game.

◆ current_floor

Floor* Gamestate::current_floor

Pointer to current floor, initialised when gamemode==Rogue.

◆ current_room

Room* Gamestate::current_room

Pointer to current room.

◆ current_room_index

int Gamestate::current_room_index

Keeps track of current room index.

◆ current_roomtype

roomClass Gamestate::current_roomtype

Keeps track of current room type.

◆ gamemode

Gamemode Gamestate::gamemode

Keeps track of current Gamemode.

◆ is_seeded

bool Gamestate::is_seeded

Denotes if the current game was started with a set seed.

◆ options

GameOptions* Gamestate::options

Keeps track of current options.

◆ path

Path* Gamestate::path

Keeps track of current Path.

◆ player

Fighter* Gamestate::player

Keeps track of current Player.

◆ start_time

clock_t Gamestate::start_time

Keeps track of game start time.

◆ stats

countStats* Gamestate::stats

Keeps track of stats for the game.

◆ wincon

Wincon* Gamestate::wincon

Keeps track of current Wincon.


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