Differentiate games and replays.

Took 9 seconds
This commit is contained in:
Lukas Brübach 2025-09-10 14:48:09 +02:00
parent 0e33187388
commit 595eb609ad
29 changed files with 224 additions and 177 deletions

View file

@ -30,7 +30,7 @@ class Event_Ping;
class Event_GameSay;
class Event_Kicked;
class Event_ReverseTurn;
class Game;
class AbstractGame;
class PendingCommand;
class Player;
@ -41,10 +41,10 @@ class GameEventHandler : public QObject
Q_OBJECT
private:
Game *game;
AbstractGame *game;
public:
explicit GameEventHandler(Game *_game);
explicit GameEventHandler(AbstractGame *_game);
void handleNextTurn();
void handleReverseTurn();