diff --git a/src/app/core/entry_point.h b/src/app/core/entry_point.h deleted file mode 100644 index 3d16d6f3..00000000 --- a/src/app/core/entry_point.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef YAZE_APP_CONTROLLER_ENTRYPOINT_H -#define YAZE_APP_CONTROLLER_ENTRYPOINT_H - -#include "controller.h" - -int main(int argc, char** argv) { - yaze::app::core::Controller controller; - controller.onEntry(); - while (controller.isActive()) { - controller.onInput(); - controller.onLoad(); - controller.doRender(); - } - controller.onExit(); - return EXIT_SUCCESS; -} - -#endif // YAZE_APP_CONTROLLER_ENTRYPOINT_H \ No newline at end of file diff --git a/src/yaze.cc b/src/yaze.cc index 3811cdc7..75aca260 100644 --- a/src/yaze.cc +++ b/src/yaze.cc @@ -1 +1,13 @@ -#include "yaze.h" \ No newline at end of file +#include "yaze.h" + +int main(int argc, char** argv) { + yaze::app::core::Controller controller; + controller.onEntry(); + while (controller.isActive()) { + controller.onInput(); + controller.onLoad(); + controller.doRender(); + } + controller.onExit(); + return EXIT_SUCCESS; +} \ No newline at end of file diff --git a/src/yaze.h b/src/yaze.h index 36e7139c..3a1d6c16 100644 --- a/src/yaze.h +++ b/src/yaze.h @@ -2,6 +2,5 @@ #define YAZE_YAZE_H #include "app/core/controller.h" -#include "app/core/entry_point.h" #endif // YAZE_YAZE_H \ No newline at end of file