File indexing completed on 2024-10-27 03:47:45
0001 /* 0002 SPDX-FileCopyrightText: 2013 Alexander Schuch <aschuch247@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "weak_gui.h" 0008 #include "weak.h" 0009 0010 #include <KLocalizedString> 0011 0012 AiDefaultWeakGui::AiDefaultWeakGui() : 0013 PlayerGui(i18n("Default (Weak)")) 0014 { 0015 } 0016 0017 0018 Player* 0019 AiDefaultWeakGui::createInstance(Game *game, const QString &newName, const QColor &color) const 0020 { 0021 return new AiDefaultWeak(game, newName, color); 0022 }