Survival Royale 1.0.0
A very simple yet funny card game.
Loading...
Searching...
No Matches
Player Struct Reference

Defines a structure for the player's info. More...

#include <main.h>

Data Fields

unsigned int id
 The player ID.
unsigned int lifePoints
 The current player LPs.
bool revealedFacedDownCard
 Flag for recording if the faced down card has been revealed; it can be toggled even if the faced down card has been revealed by the effect of the another player's card.
Card facedUpCard
 The faced up card.
Card facedDownCard
 The faced down card.

Detailed Description

Defines a structure for the player's info.

Definition at line 66 of file main.h.

Field Documentation

◆ facedDownCard

Card facedDownCard

The faced down card.

Definition at line 76 of file main.h.

◆ facedUpCard

Card facedUpCard

The faced up card.

Definition at line 74 of file main.h.

◆ id

unsigned int id

The player ID.

Definition at line 68 of file main.h.

◆ lifePoints

unsigned int lifePoints

The current player LPs.

Definition at line 70 of file main.h.

◆ revealedFacedDownCard

bool revealedFacedDownCard

Flag for recording if the faced down card has been revealed; it can be toggled even if the faced down card has been revealed by the effect of the another player's card.

Definition at line 72 of file main.h.


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