mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
bindings reading, app state retrieval and mappings improvements
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
#include "util.h"
|
||||
#include "gameManager.h"
|
||||
#include "stateManager.h"
|
||||
#include "guiAppState.h"
|
||||
|
||||
#include <stateManager.h>
|
||||
|
||||
using namespace battleship;
|
||||
|
||||
int main() {
|
||||
GameManager *gameManager = GameManager::getSingleton();
|
||||
gameManager->start(800, 600);
|
||||
GuiAppState *state = new GuiAppState();
|
||||
gameManager->getStateManager()->attachState(state);
|
||||
gameManager->getStateManager()->attachAppState(state);
|
||||
makeTitlescreenButtons(state);
|
||||
|
||||
while(true){
|
||||
|
||||
Reference in New Issue
Block a user