Cute Chess  0.1
Static Public Member Functions | List of all members
TournamentFactory Class Reference

A factory for creating Tournament objects. More...

#include <tournamentfactory.h>

Static Public Member Functions

static Tournament * create (const QString &type, GameManager *manager, QObject *parent=nullptr)
 

Detailed Description

A factory for creating Tournament objects.

Member Function Documentation

Tournament * TournamentFactory::create ( const QString &  type,
GameManager *  manager,
QObject *  parent = nullptr 
)
static

Creates and returns a new tournament of type type that uses manager to manage its games.

Returns 0 if type is not supported.


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