File indexing completed on 2024-11-10 03:45:53

0001 /*
0002     SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "becai_gui.h"
0008 #include "becai.h"
0009 
0010 #include <KLocalizedString>
0011 
0012 AiBecaiGui::AiBecaiGui() :
0013     PlayerGui(i18nc("A distinct unique AI playing a balanced strategy", "Becai (Balanced)"))
0014 {
0015 }
0016 
0017 
0018 Player*
0019 AiBecaiGui::createInstance(Game *game, const QString &newName, const QColor &color) const
0020 {
0021     return new AiBecai(game, newName, color);
0022 }