From f24107368fa47f911f4491f644ff3755525c91e1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 19 Aug 2017 20:20:51 +0500 Subject: 2017-08-19 --- src/GameState.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/GameState.hpp') diff --git a/src/GameState.hpp b/src/GameState.hpp index d104e54..f09e5ab 100644 --- a/src/GameState.hpp +++ b/src/GameState.hpp @@ -10,9 +10,9 @@ #include "Event.hpp" class GameState { - NetworkClient *nc; + std::shared_ptr nc; public: - GameState(NetworkClient *networkClient); + GameState(std::shared_ptr networkClient); void Update(float deltaTime); @@ -68,4 +68,6 @@ public: double g_PlayerVelocityX = 0; double g_PlayerVelocityY = 0; double g_PlayerVelocityZ = 0; + + std::shared_ptr gs; }; -- cgit v1.2.3