blob: 8d8567d6f792acb768f9a15ba9482f2bb2f9a346 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
 | #include <SDL2/SDL.h>
#include <stdio.h>
#include "event.h"
int main(int argc, char * args[]) {
	
	KeyPressedEvent keyEvent(1,1);
	KeyReleasedEvent keyRelease(1);
	std::cout << keyEvent.GetEventType() << std::endl;
	std::cout << keyRelease.GetEventType() << std::endl;
	std::cin;
	return 0;
}
 |