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

Commit

Permalink
Make game.h polymorphic
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzun committed Sep 13, 2018
1 parent d383f35 commit a6d3098
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/Game/Game.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -82,8 +82,6 @@ class Game
int aiBatchSize;
int aiEpochs;
int aiUpdateInterval;
bool aiRealtimeLearn;
bool aiSelfTrain;
float aiClickThreshold;

qreal physicsSpeedFactor;
Expand Down

0 comments on commit a6d3098

Please sign in to comment.