Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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 (TabGame *tab, QList< AbstractClient * > &_clients, const Event_GameJoined &event, const QMap< int, QString > &_roomGameTypes)
Public Member Functions inherited from AbstractGame
 AbstractGame (TabGame *tab)
TabGamegetTab () const
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
TabGametab
GameMetaInfogameMetaInfo
GameStategameState
GameEventHandlergameEventHandler
PlayerManagerplayerManager
CardItemactiveCard

Constructor & Destructor Documentation

◆ Game()

Game::Game ( TabGame * tab,
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: