diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-10-17 20:33:13 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:32 +0100 |
commit | a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47 (patch) | |
tree | 160309441fbe58921d9483e8d12e8d2e57955b97 /src/GameState.hpp | |
parent | 2017-10-15 (diff) | |
download | AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.gz AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.bz2 AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.lz AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.xz AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.tar.zst AltCraft-a6e0c9ce9b6c468d0e622ffb5c05eba664ea4f47.zip |
Diffstat (limited to 'src/GameState.hpp')
-rw-r--r-- | src/GameState.hpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/GameState.hpp b/src/GameState.hpp index 0551f1c..bee89bf 100644 --- a/src/GameState.hpp +++ b/src/GameState.hpp @@ -1,15 +1,18 @@ #pragma once -#include <nlohmann/json.hpp> -#include <glm/glm.hpp> -#include <glm/gtc/matrix_transform.hpp> +#include <mutex> +#include <queue> +#include <memory> + +#include <glm/mat4x4.hpp> #include "World.hpp" -#include "NetworkClient.hpp" -#include "Vector.hpp" -#include "Event.hpp" #include "Window.hpp" +class Packet; +class NetworkClient; +class Entity; + class GameState { std::mutex packetsMutex; std::queue<std::shared_ptr<Packet>> packets; |