14 lines
198 B
C
14 lines
198 B
C
|
#ifndef EVENTS_H
|
||
|
#define EVENTS_H
|
||
|
|
||
|
#include <SDL_events.h>
|
||
|
|
||
|
// Public
|
||
|
void handle_events();
|
||
|
|
||
|
//Private
|
||
|
void handle_key_event(SDL_Keycode key_pressed);
|
||
|
void handle_mouse_event(int x, int y);
|
||
|
|
||
|
#endif
|