summaryrefslogtreecommitdiffstats
path: root/src/ThreadGame.hpp
blob: 9894235d24f6364a63701b4a608cd511326cff9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "Thread.hpp"
#include "GameState.hpp"
#include "Event.hpp"

class ThreadGame: Thread {
	GameState *gs = nullptr;
    bool isRunning = true;
    bool isMoving[5] = { 0,0,0,0,0 };
public:
	ThreadGame();
	~ThreadGame();
	void Execute() override;
};