signalFadeOutHumanPlayerCards()
This commit is contained in:
@@ -629,6 +629,8 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
|
||||
connect(this, SIGNAL(signalNetServerPlayerJoined(QString)), myStartNetworkGameDialog, SLOT(addConnectedPlayer(QString)));
|
||||
connect(this, SIGNAL(signalNetServerPlayerLeft(QString)), myStartNetworkGameDialog, SLOT(removePlayer(QString)));
|
||||
|
||||
connect(this, SIGNAL(signalFadeOutHumanPlayerCards()), this, SLOT( fadeOutHumanPlayerCards()));
|
||||
|
||||
|
||||
//Sound
|
||||
mySDLPlayer = new SDLPlayer(myConfig);
|
||||
@@ -2641,6 +2643,12 @@ void mainWindowImpl::networkGameModification() {
|
||||
|
||||
}
|
||||
|
||||
void mainWindowImpl::fadeOutHumanPlayerCards() {
|
||||
|
||||
holeCardsArray[0][0]->startFadeOut(10);
|
||||
holeCardsArray[0][1]->startFadeOut(10);
|
||||
}
|
||||
|
||||
void mainWindowImpl::closeEvent(QCloseEvent *event) { quitPokerTH(); }
|
||||
|
||||
void mainWindowImpl::quitPokerTH() {
|
||||
|
||||
Reference in New Issue
Block a user