summaryrefslogtreecommitdiff
path: root/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'application.h')
-rw-r--r--application.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/application.h b/application.h
index ea8d899..4504e9e 100644
--- a/application.h
+++ b/application.h
@@ -1,18 +1,18 @@
#ifndef APPLICATION_H
#define APPLICATION_H
-#include <SDL/SDL.h>
+#include <SFML/Window.hpp>
class Application {
private:
- SDL_Surface *surface;
+ sf::Window* window;
bool please_quit;
protected:
void init_window(unsigned int w, unsigned int h, bool fs = false);
- virtual void event(const SDL_Event& e);
- virtual void event_keypress(SDLKey key);
+ virtual void event(const sf::Event& e);
+ virtual void event_keypress(sf::Key::Code key);
virtual void update() = 0;