1 /* 2 * This code is released under the GNU General Public License. See COPYING for 3 * details. Copyright 2003 John Spray: spray_john@users.sourceforge.net 4 */ 5 6 7 8 #ifndef EVENTS_H 9 #define EVENTS_H 10 11 #include <SDL.h> 12 #include "Player.h" 13 #include "Game.h" 14 #include "Camera.h" 15 16 class Events{ 17 public: 18 Events(); 19 void HandleEvents(); 20 21 void HandleKeysDown(SDL_keysym keysym); 22 23 void HandleKeysUp(SDL_keysym keysym); 24 25 void ToggleGrab(); 26 27 Player* keyboardtarget; 28 Camera* targetcam; 29 30 Game* game; 31 }; 32 33 #endif //EVENTS_H 34