Added first UI elements
Rules can be created from the UI Game can be stopped/started from the UI Current level can be reset (Load from file again) Added "Game" target and main file TODO (A lot): - Unit tests - Fully functionnal UI - Win conditions - Level background - Level switching/progression - Interesting and varied rules - Multi-scale pathfinding - etc
This commit is contained in:
parent
a1bc8058c2
commit
6b5a28e682
16 changed files with 260 additions and 29 deletions
15
game/main.cpp
Normal file
15
game/main.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
//
|
||||
// Created by trotfunky on 11/06/19.
|
||||
//
|
||||
|
||||
#include "Game.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
std::vector<std::string> textures = {"Head_Boy.png","Head_Significant_Boy.png","Building.png"};
|
||||
std::vector<std::string> levels = {"test_level.xml"};
|
||||
|
||||
Game game(levels,textures);
|
||||
game.loadLevel(0);
|
||||
game.runGame();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue