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

0001 /*
0002     SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef PLAYER_GUI_H
0008 #define PLAYER_GUI_H
0009 
0010 #include <QColor>
0011 #include <QString>
0012 
0013 #include "player.h"
0014 
0015 class PlayerGui
0016 {
0017 public:
0018     explicit PlayerGui(const QString &guiName);
0019     virtual ~PlayerGui() {};
0020     virtual Player* createInstance(Game *game, const QString &newName, const QColor &color) const = 0;
0021     QString guiName() const;
0022 
0023 private:
0024     QString m_guiName;
0025 };
0026 
0027 #endif // PLAYER_GUI_H