1 /*
2     SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef PLAYER_GUI_H
8 #define PLAYER_GUI_H
9 
10 #include <QColor>
11 #include <QString>
12 
13 #include "player.h"
14 
15 class PlayerGui
16 {
17 public:
18     explicit PlayerGui(const QString &guiName);
~PlayerGui()19     virtual ~PlayerGui() {};
20     virtual Player* createInstance(Game *game, const QString &newName, const QColor &color) const = 0;
21     QString guiName() const;
22 
23 private:
24     QString m_guiName;
25 };
26 
27 #endif // PLAYER_GUI_H
28