File indexing completed on 2024-12-15 03:49:09

0001 /*
0002     SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "example_gui.h"
0008 
0009 #include <KLocalizedString>
0010 
0011 #include "example.h"
0012 
0013 
0014 AiExampleGui::AiExampleGui() :
0015     PlayerGui(i18n("Example (Passive)"))
0016 {
0017 }
0018 
0019 
0020 Player*
0021 AiExampleGui::createInstance(Game *game, const QString &newName, const QColor &color) const
0022 {
0023     return new AiExample(game, newName, color);
0024 }