APVQuiz  1
A multiplayer multithreaded quizzing application
Public Member Functions | List of all members
Player Class Reference

Player class. More...

#include <Player.h>

Public Member Functions

 Player (QString name, QString pass)
 Constructor for Player. More...
 
 Player ()
 Constructor for Player. More...
 
QString getPlayerName ()
 Function to get the player name. More...
 
QString getPassword ()
 Function to get the player password. More...
 

Detailed Description

Player class.

Manages a player.

Constructor & Destructor Documentation

Player::Player ( QString  name,
QString  pass 
)

Constructor for Player.

Initializes member variables based on

Parameters
nameand
pass
Player::Player ( )

Constructor for Player.

Empty constructor

Member Function Documentation

QString Player::getPassword ( )

Function to get the player password.

Returns
Returns the paassword of the player
QString Player::getPlayerName ( )

Function to get the player name.

Returns
Returns the username of the player

The documentation for this class was generated from the following files: