A* implementation

Working except for end of path endless loop (0,0 point appearing in paths for no reason?)

Commit mainly because the HDD is on the verge of dying
This commit is contained in:
Teo-CD 2019-06-09 05:18:28 +02:00
parent 250a680cad
commit d42d176e8d
9 changed files with 181 additions and 29 deletions

View file

@ -1,7 +1,7 @@
<?xml version = "1.0"?>
<Level w="10" h="10" textureId="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="8" h="8" type="House" textureId="2"/>
<Entity x="1" y="1" w="5" h="5" type="House" textureId="2"/>
</Level>