From d93c2073896e63aca5a859fe7182ba24dbe84cd3 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 28 May 2017 19:16:05 +0500 Subject: 2017-05-28 --- src/graphics/Display.hpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/graphics/Display.hpp (limited to 'src/graphics/Display.hpp') diff --git a/src/graphics/Display.hpp b/src/graphics/Display.hpp deleted file mode 100644 index 7458bcd..0000000 --- a/src/graphics/Display.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include -#include "../world/World.hpp" -#include -#include -#include -#include "Shader.hpp" -#include "Texture.hpp" -#include "Camera3D.hpp" - -class Display { - sf::Window *window; - World* world; - std::vector toRender; - Camera3D camera; -public: - Display(unsigned int winWidth, unsigned int winHeight, const char winTitle[9], World *worldPtr); - - bool IsClosed(); - - void SetPlayerPos(double playerX, double playerY, double playerZ); - - void MainLoop(); - - unsigned int width() { - return window->getSize().x; - } - - unsigned int height() { - return window->getSize().y; - } -}; \ No newline at end of file -- cgit v1.2.3