summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-29 17:25:30 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:31 +0100
commita0d5862d99186f317a0f7364e8b6cd3cfeccfdf1 (patch)
tree7bf54f8141c513650130e8d3cc6bd8ce3f71b1fe /src/Event.hpp
parent2017-08-27 (diff)
downloadAltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.gz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.bz2
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.lz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.xz
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.tar.zst
AltCraft-a0d5862d99186f317a0f7364e8b6cd3cfeccfdf1.zip
Diffstat (limited to '')
-rw-r--r--src/Event.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index b137a85..569be00 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -9,7 +9,7 @@
#include <variant>
#include <functional>
-#include <SFML/Window.hpp>
+#include <SDL.h>
#include "Vector.hpp"
#include "Packet.hpp"
@@ -119,11 +119,11 @@ struct MouseMovedData {
};
struct KeyPressedData {
- sf::Keyboard::Key key;
+ SDL_Scancode key;
};
struct KeyReleasedData {
- sf::Keyboard::Key key;
+ SDL_Scancode key;
};
struct InitalizeSectionRenderData {