summaryrefslogtreecommitdiffstats
path: root/src/ThreadGame.hpp
blob: 1254183b0e2f5aff00ceaeaab5f1a30db0dc92d7 (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[4] = { 0,0,0,0 };
public:
	ThreadGame();
	~ThreadGame();
	void Execute() override;
};