mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
Include.
Took 47 seconds Took 1 minute
This commit is contained in:
parent
4c292c6f84
commit
79b91b7db1
2 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ CardMenu::CardMenu(PlayerGraphicsItem *_player, const CardItem *_card, bool _sho
|
||||||
playersInfo.append(qMakePair(playerToAdd->getPlayerInfo()->getName(), playerToAdd->getPlayerInfo()->getId()));
|
playersInfo.append(qMakePair(playerToAdd->getPlayerInfo()->getName(), playerToAdd->getPlayerInfo()->getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connect(player->getLogic()->getGame()->getPlayerManager(), &PlayerManager::playerRemoved, this,
|
||||||
|
&CardMenu::removePlayer);
|
||||||
|
|
||||||
auto *actions = player->getLogic()->getPlayerActions();
|
auto *actions = player->getLogic()->getPlayerActions();
|
||||||
auto *gameScene = player->getGameScene();
|
auto *gameScene = player->getGameScene();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@
|
||||||
#include "../board/card_item.h"
|
#include "../board/card_item.h"
|
||||||
#include "../client/settings/card_counter_settings.h"
|
#include "../client/settings/card_counter_settings.h"
|
||||||
#include "../dialogs/dlg_roll_dice.h"
|
#include "../dialogs/dlg_roll_dice.h"
|
||||||
|
#include "../player/player_graphics_item.h"
|
||||||
|
|
||||||
#include <QInputDialog>
|
#include <QInputDialog>
|
||||||
#include <libcockatrice/card/relation/card_relation.h>
|
#include <libcockatrice/card/relation/card_relation.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue