File indexing completed on 2024-04-28 04:03:31

0001 /*
0002     SPDX-FileCopyrightText: 2003 Russell Steffen <rsteffen@bayarea.net>
0003     SPDX-FileCopyrightText: 2003 Stephan Zehetner <s.zehetner@nevox.org>
0004     SPDX-FileCopyrightText: 2006 Dmitry Suzdalev <dimsuz@gmail.com>
0005     SPDX-FileCopyrightText: 2006 Inge Wallin <inge@lysator.liu.se>
0006     SPDX-FileCopyrightText: 2006 Pierre Ducroquet <pinaraf@gmail.com>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #include "localplayer.h"
0012 #include <QDebug>
0013 
0014 LocalPlayer::LocalPlayer(Game *game, const QString &newName, const QColor &color) :
0015     Player(game, newName, color)
0016 {
0017 }
0018 
0019 
0020 void LocalPlayer::play()
0021 {
0022     //qDebug() << name() << "::play";
0023     Q_EMIT canPlay();
0024 }
0025 
0026 
0027 void LocalPlayer::done()
0028 {
0029     //qDebug() << name() << "::done";
0030     Q_EMIT donePlaying();
0031 }
0032 
0033 #include "moc_localplayer.cpp"