diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-23 18:13:50 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-23 18:13:50 +0200 |
commit | c478aeeb9b7b40bfd3415500b4886c0c0542bc26 (patch) | |
tree | f691b29446413ee164689651fb8b1e2a350c2c50 /main.cpp | |
parent | 332bfa22a6319cacee88883ef177ff2b52b509c0 (diff) |
Added Stage-class.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,11 +2,14 @@ #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; |