Quaternity
Public Attributes | List of all members
Card Struct Reference

The information connected to a card. More...

#include <state.h>

Public Attributes

std::vector< bool > players
 The players which could have this card. More...
 

Detailed Description

The information connected to a card.

Note
We use a struct instead of a typedef in case it turns out that we need more information later on in the development process.

Definition at line 19 of file state.h.

Member Data Documentation

◆ players

std::vector<bool> Card::players

The players which could have this card.

This is denoted by true if the player can have the card and false otherwise. To give an example, [0,1,0] means that player 0 and 2 cannot have this card, but player 1 can have this card.

Definition at line 28 of file state.h.


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