namespace housekeeping continued again
This commit is contained in:
18
src/app/core/entry_point.h
Normal file
18
src/app/core/entry_point.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user