Skip to content
This repository was archived by the owner on Mar 1, 2021. It is now read-only.

Commit a6d3098

Browse files
committed
Make game.h polymorphic
1 parent d383f35 commit a6d3098

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/Game/Game.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Game
2929
{
3030
public:
3131
Game(class View *GraphicsView, class QSettings *cfg, class QSettings *registry, int windowWidth, int windowHeight);
32-
~Game();
32+
virtual ~Game();
3333

3434
void clickEvent();
3535
void updateScore();
@@ -82,8 +82,6 @@ class Game
8282
int aiBatchSize;
8383
int aiEpochs;
8484
int aiUpdateInterval;
85-
bool aiRealtimeLearn;
86-
bool aiSelfTrain;
8785
float aiClickThreshold;
8886

8987
qreal physicsSpeedFactor;

0 commit comments

Comments
 (0)