File indexing completed on 2024-12-08 06:47:09
0001 /* 0002 SPDX-FileCopyrightText: 2006 Pierre Ducroquet <pinaraf@pinaraf.info> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef LOCALGAME_H 0008 #define LOCALGAME_H 0009 0010 #include "game.h" 0011 #include "players/player.h" 0012 0013 class LocalGame : public Game 0014 { 0015 public: 0016 explicit LocalGame(QObject *parent = nullptr); 0017 0018 void start() override; 0019 void stop() override; 0020 0021 public: 0022 void addPlayer(Player *player); 0023 void playerIsDone(); 0024 0025 protected: 0026 void buildMachine() override; 0027 }; 0028 0029 #endif // LOCALGAME_H