#include <playerselection.h>
Public Member Functions | |
PlayerSelection (QWidget *parent) | |
vector< QString > | selectedPlayers () |
void | setGameName (const QString &name) |
void | setPlayersNeeded (int minimum, int maximum) |
PlayerSelection::PlayerSelection | ( | QWidget * | parent | ) |
The dialogue constructor.
parent | is the parent of this widget. |
vector< QString > PlayerSelection::selectedPlayers | ( | ) |
This gives the player names the user has selected to play with.
void PlayerSelection::setGameName | ( | const QString & | name | ) |
This sets the game we're selecting players for.
name | is the name of the game we're selecting for. |
void PlayerSelection::setPlayersNeeded | ( | int | minimum, | |
int | maximum | |||
) |
This set the boundary conditions for the number of players needed.
minimum | is the minimum number of players needed for the game. | |
maximum | is the maximum number of players allowed for the game. |