1 /* 2 SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #include "spectatorplayer_gui.h" 8 #include "spectatorplayer.h" 9 10 #include <KLocalizedString> 11 SpectatorPlayerGui()12SpectatorPlayerGui::SpectatorPlayerGui() : 13 PlayerGui(i18nc("A human spectator", "Human (Spectator)")) 14 { 15 } 16 17 18 Player* createInstance(Game * game,const QString & newName,const QColor & color) const19SpectatorPlayerGui::createInstance(Game *game, const QString &newName, const QColor &color) const 20 { 21 return new SpectatorPlayer(game, newName, color); 22 } 23