summaryrefslogtreecommitdiffstats
path: root/src/GameState.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/GameState.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/GameState.hpp b/src/GameState.hpp
index 4894628..7145df5 100644
--- a/src/GameState.hpp
+++ b/src/GameState.hpp
@@ -14,8 +14,6 @@ class NetworkClient;
class Entity;
class GameState {
- std::mutex packetsMutex;
- std::queue<std::shared_ptr<Packet>> packets;
public:
GameState() = default;
@@ -24,7 +22,7 @@ public:
void Update(float deltaTime);
- void UpdatePacket(NetworkClient *nc);
+ void UpdatePacket(std::shared_ptr<Packet> ptr);
enum Direction {
FORWARD, BACKWARD, LEFT, RIGHT, JUMP