mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-27 03:43:30 +00:00
28 lines
573 B
C++
Executable File
28 lines
573 B
C++
Executable File
#include "util.h"
|
|
#include "gameManager.h"
|
|
#include "guiAppState.h"
|
|
#include "concreteGuiManager.h"
|
|
|
|
#include <stateManager.h>
|
|
|
|
#include <assetManager.h>
|
|
|
|
using namespace battleship;
|
|
using namespace vb01;
|
|
|
|
int main() {
|
|
GameManager *gm = GameManager::getSingleton();
|
|
gm->start();
|
|
gm->getStateManager()->attachAppState(new GuiAppState());
|
|
|
|
AssetManager::getSingleton()->load(gm->getPath() + "Fonts/batang.ttf");
|
|
|
|
ConcreteGuiManager::getSingleton()->readLuaScreenScript("mainMenu.lua");
|
|
|
|
while(true){
|
|
gm->update();
|
|
}
|
|
|
|
return 0;
|
|
}
|