Public Attributes | List of all members
datasplayer Struct Reference

A data model for the player. More...

Public Attributes

vector< string > * cardsList
 A list of the cards.
 
string identifiant
 the identifiant of the player
 
bool isPlaying
 If the player is playing the value is at true.
 
int points
 the score of the player
 
string actualCard
 The actual played card.
 

Detailed Description

A data model for the player.

The model can give informations on the player as the id , if is currently have the game turn , the points the list of cards and the actual played card

Definition at line 61 of file cardgame.cpp.

Member Data Documentation

◆ actualCard

string datasplayer::actualCard

The actual played card.

Definition at line 87 of file cardgame.cpp.

Referenced by CardGameTools::createGame(), CardGameTools::getGame(), and CardGameTools::writeGame().

◆ cardsList

vector<string >* datasplayer::cardsList

◆ identifiant

string datasplayer::identifiant

◆ isPlaying

bool datasplayer::isPlaying

◆ points

int datasplayer::points

the score of the player

Definition at line 82 of file cardgame.cpp.

Referenced by CardGameTools::createGame(), CardGameTools::gameRules(), CardGameTools::getGame(), and CardGameTools::writeGame().


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

GNU cgicc - A C++ class library for writing CGI applications
Copyright © 1996 - 2004 Stephen F. Booth
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front Cover Texts, and with no Back-Cover Texts.
Documentation generated Fri Mar 1 2024 08:39:42 for cgicc by doxygen 1.9.6