diff options
Diffstat (limited to 'src/event.cpp')
-rw-r--r-- | src/event.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/event.cpp b/src/event.cpp index ba7fda8..56c4951 100644 --- a/src/event.cpp +++ b/src/event.cpp @@ -3,12 +3,12 @@ Event::Event() { run = true; -}; +} int Event::Poll() { SDL_PollEvent(&v); -}; +} void Event::off() { @@ -18,15 +18,15 @@ void Event::off() bool Event::gRun() { return run; -}; +} SDL_Event& Event::gEvent() { SDL_Event* x = &v; return *x; -}; +} int Event::gEventType() { return v.type; -}; +} |