File indexing completed on 2024-04-28 04:03:31

0001 /*
0002     SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "localplayer_gui.h"
0008 #include "localplayer.h"
0009 
0010 #include <KLocalizedString>
0011 
0012 LocalPlayerGui::LocalPlayerGui() :
0013     PlayerGui(i18nc("A human player", "Human (Player)"))
0014 {
0015 }
0016 
0017 
0018 Player*
0019 LocalPlayerGui::createInstance(Game *game, const QString &newName, const QColor &color) const
0020 {
0021     return new LocalPlayer(game, newName, color);
0022 }