aboutsummaryrefslogtreecommitdiff
path: root/game/main.cpp
blob: 5c050f4ffd92feb7c26fc85029f3a9bb9272b1fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <crepe/api/Engine.h>
#include <crepe/api/Script.h>

#include "GameScene.h"
#include "PreviewScene.h"
#include "menus/mainmenu/MainMenuScene.h"
#include "menus/shop/ShopMenuScene.h"

using namespace crepe;

int main() {
	Engine gameloop;
	gameloop.add_scene<MainMenuScene>();
	gameloop.add_scene<ShopMenuScene>();
	gameloop.add_scene<GameScene>();
	gameloop.add_scene<PreviewScene>();

	return gameloop.main();
}