summaryrefslogblamecommitdiffstats
path: root/src/ThreadGame.hpp
blob: 41676d621f85af322b4f7bfe307769c5c149857f (plain) (tree)
1
2
3
4
5
6
7
8
9






                          
                                  
                          
                                     




                                
#pragma once

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

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