From a6d30986c5c168c8dea3ea6b26423aa221820211 Mon Sep 17 00:00:00 2001 From: fuzun Date: Thu, 13 Sep 2018 16:02:35 +0300 Subject: [PATCH] Make game.h polymorphic --- source/Game/Game.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/Game/Game.h b/source/Game/Game.h index 2d71a75..18392cc 100644 --- a/source/Game/Game.h +++ b/source/Game/Game.h @@ -29,7 +29,7 @@ class Game { public: Game(class View *GraphicsView, class QSettings *cfg, class QSettings *registry, int windowWidth, int windowHeight); - ~Game(); + virtual ~Game(); void clickEvent(); void updateScore(); @@ -82,8 +82,6 @@ class Game int aiBatchSize; int aiEpochs; int aiUpdateInterval; - bool aiRealtimeLearn; - bool aiSelfTrain; float aiClickThreshold; qreal physicsSpeedFactor;