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