summaryrefslogtreecommitdiff
path: root/main.cpp
blob: 1168949d3a6fa0cd9fd5cbdd23983bbadd28c150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <stdexcept>

#include "engine/application.h"
#include "engine/stage.h"

int main(int, char**) {
	try {
		Application* app = new Application();
		
		app->stage = new Stage();
		
		app->run();
	} catch(std::runtime_error e) {
		std::cerr << "Exception caught: " << e.what() << std::endl;
	}
	
	return 0;
}