mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Differentiate games and replays.
Took 9 seconds
This commit is contained in:
parent
0e33187388
commit
595eb609ad
29 changed files with 224 additions and 177 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue