blob: 493950b577ea42b4d8f30ad29f4ddc05456040a1 (
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/engine.h"
#include "engine/stage.h"
int main(int, char**) {
try {
Engine engine;
engine.stage = new Stage();
engine.run();
} catch(std::runtime_error e) {
std::cerr << "Exception caught: " << e.what() << std::endl;
}
return 0;
}
|