18 lines
448 B
C
18 lines
448 B
C
#ifndef YAZE_APPLICATION_CONTROLLER_ENTRYPOINT_H
|
|
#define YAZE_APPLICATION_CONTROLLER_ENTRYPOINT_H
|
|
|
|
#include "controller.h"
|
|
|
|
int main(int argc, char** argv) {
|
|
yaze::application::Core::Controller controller;
|
|
controller.onEntry();
|
|
while (controller.isActive()) {
|
|
controller.onInput();
|
|
controller.onLoad();
|
|
controller.doRender();
|
|
}
|
|
controller.onExit();
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|
|
#endif // YAZE_APPLICATION_CONTROLLER_ENTRYPOINT_H
|