File indexing completed on 2024-10-13 03:44:43

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 #ifndef LOCALPLAYER_H
0012 #define LOCALPLAYER_H
0013 
0014 #include "player.h"
0015 
0016 class LocalPlayer : public Player
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit LocalPlayer(Game *game, const QString &newName, const QColor &color);
0021 
0022     void play() override;
0023 
0024     void done();
0025 
0026 Q_SIGNALS:
0027     void canPlay();
0028 
0029 };
0030 
0031 #endif // LOCALPLAYER_H