Cockatrice 2026-06-27-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Game Class Reference

#include <game.h>

Inheritance diagram for Game:
[legend]
Collaboration diagram for Game:
[legend]

Public Member Functions

 Game (QObject *parent, bool isLocalGame, QList< AbstractClient * > &_clients, const Event_GameJoined &event, const QMap< int, QString > &_roomGameTypes)
Public Member Functions inherited from AbstractGame
 AbstractGame (QObject *parent)
GameMetaInfogetGameMetaInfo ()
GameStategetGameState () const
GameEventHandlergetGameEventHandler () const
PlayerManagergetPlayerManager () const
bool isHost () const
AbstractClientgetClientForPlayer (int playerId) const
void loadReplay (GameReplay *replay)
CardItemgetCard (int playerId, const QString &zoneName, int cardId) const
void setActiveCard (CardItem *card)
CardItemgetActiveCard () const

Additional Inherited Members

Public Attributes inherited from AbstractGame
GameMetaInfogameMetaInfo
GameStategameState
GameEventHandlergameEventHandler
PlayerManagerplayerManager
CardItemactiveCard

Detailed Description

Todo
Document this file.

Constructor & Destructor Documentation

◆ Game()

Game::Game ( QObject * parent,
bool isLocalGame,
QList< AbstractClient * > & _clients,
const Event_GameJoined & event,
const QMap< int, QString > & _roomGameTypes )
Here is the call graph for this function:

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