From d46f3a7180afdb5213afc80c97ae5fc8db43248a Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 23 Apr 2017 18:39:59 +0500 Subject: 2017-04-23 --- Display.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Display.hpp') diff --git a/Display.hpp b/Display.hpp index d7a9089..3d54482 100644 --- a/Display.hpp +++ b/Display.hpp @@ -8,7 +8,8 @@ class Display { sf::RenderWindow *window; - std::map> sectionTextures; + std::map> sectionTextures; + //std::map> sectionTextures; World *world; bool isGameStarted = false; std::condition_variable &gameStartWaiter; @@ -21,7 +22,7 @@ class Display { void Update(); - sf::Texture &GetSectionTexture(PositionI pos); + sf::Image &GetSectionTexture(PositionI pos); //gameState vars sf::Vector2f mousePos; -- cgit v1.2.3