blob: bb1f9463fce9fa1060ebbe08478832f8548e2f39 (
plain) (
tree)
|
|
#pragma once
#include <SFML/Graphics.hpp>
#include "World.hpp"
class Display {
sf::RenderWindow *window;
World* world;
public:
Display(int w=1280,int h=720,std::string title="AltCraft");
~Display();
void SetWorld(World* wrd);
void Update();
bool IsClosed();
void SetPlayerPos(float x, float z);
};
|