blob: bd5ca936a6a463481b1036837c4c09d4cc47b55d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <crepe/api/Engine.h>
#include <crepe/api/Script.h>
#include "Config.h"
#include "GameScene.h"
#include "menus/mainmenu/MainMenuScene.h"
#include "menus/shop/ShopMenuScene.h"
using namespace crepe;
int main() {
Config::get_instance() = ENGINE_CONFIG;
Engine gameloop;
gameloop.add_scene<MainMenuScene>();
gameloop.add_scene<ShopMenuScene>();
gameloop.add_scene<GameScene>();
return gameloop.main();
}
|