1 /*
2     SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #include "example_gui.h"
8 
9 #include <KLocalizedString>
10 
11 #include "example.h"
12 
13 
AiExampleGui()14 AiExampleGui::AiExampleGui() :
15     PlayerGui(i18n("Example (Passive)"))
16 {
17 }
18 
19 
20 Player*
createInstance(Game * game,const QString & newName,const QColor & color) const21 AiExampleGui::createInstance(Game *game, const QString &newName, const QColor &color) const
22 {
23     return new AiExample(game, newName, color);
24 }
25