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:
trotFunky 2019-06-11 00:33:44 +02:00
parent a1bc8058c2
commit 6b5a28e682
16 changed files with 260 additions and 29 deletions

View file

@ -1,7 +1,7 @@
<?xml version = "1.0"?>
<Level w="20" h="20" textureId="0">
<Entity x="0" y="0" type="Citizen"/>
<Entity x="0" y="1" type="Citizen"/>
<Entity x="10" y="10" type="Significant" textureId="1"/>
<Entity x="1" y="1" w="4" h="4" type="House" textureId="2"/>
<Entity x="0" y="10" type="Citizen"/>
<Entity x="10" y="10" type="Noble" textureId="1"/>
<Entity x="2" y="2" w="4" h="4" type="House" textureId="2"/>
</Level>