diff options
author | tom <tom@ground-control> | 2015-05-05 21:01:52 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-05-05 21:01:52 -0500 |
commit | aaf0a73578ecbb8212e0d224d6fff68a229b1f48 (patch) | |
tree | 46f6d91c1bc02e434812af59477e11fb5e521713 /src/event.cpp | |
parent | 22cd24a1fe33b6bc9f52a600feb5cdb8d868d50f (diff) |
fleshed out list, locations of all creatures and resources are now within
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; -}; +} |