File indexing completed on 2024-10-13 03:44:43
0001 /* 0002 SPDX-FileCopyrightText: 2003 Russell Steffen <rsteffen@bayarea.net> 0003 SPDX-FileCopyrightText: 2003 Stephan Zehetner <s.zehetner@nevox.org> 0004 SPDX-FileCopyrightText: 2006 Dmitry Suzdalev <dimsuz@gmail.com> 0005 SPDX-FileCopyrightText: 2006 Inge Wallin <inge@lysator.liu.se> 0006 SPDX-FileCopyrightText: 2006 Pierre Ducroquet <pinaraf@pinaraf.info> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 0011 #include "computerplayer.h" 0012 #include "../game.h" 0013 0014 #include <cmath> 0015 #include <cfloat> 0016 0017 ComputerPlayer::ComputerPlayer(Game *game, 0018 const QString &newName, 0019 const QColor &color) 0020 : Player(game, newName, color) 0021 { 0022 } 0023 0024 0025 bool ComputerPlayer::isAiPlayer() 0026 { 0027 return true; 0028 }