Cockatrice 2026-10-19-Development-3.1.2-beta.2
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)
GameMetaInfo * getGameMetaInfo ()
GameState * getGameState () const
GameEventHandler * getGameEventHandler () const
PlayerManager * getPlayerManager () const
bool isHost () const
AbstractClient * getClientForPlayer (int playerId) const
void loadReplay (const GameReplay *replay)
CardItem * getCard (int playerId, const QString &zoneName, int cardId) const
void setActiveCard (CardItem *card)
CardItem * getActiveCard () const

Additional Inherited Members

Public Attributes inherited from AbstractGame
GameMetaInfo * gameMetaInfo
GameState * gameState
GameEventHandler * gameEventHandler
PlayerManager * playerManager
CardItem * activeCard

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:
Here is the caller graph for this function:

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