File indexing completed on 2024-09-15 03:44:37
0001 /* 0002 SPDX-FileCopyrightText: 2007 Paolo Capriotti <p.capriotti@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef AI_DUMMYAI_H 0008 #define AI_DUMMYAI_H 0009 0010 #include "ai.h" 0011 0012 class DummyAI : public AI 0013 { 0014 public: 0015 DummyAI(Sea::Player player, Sea* sea, const BattleShipsConfiguration* config); 0016 Coord getMove() override; 0017 void notify(Sea::Player, const Coord&, const HitInfo&) override { } 0018 }; 0019 0020 #endif // AI_DUMMYAI_H 0021