Added new SFX, dashing, made generation FPS-independent

This commit is contained in:
Anuken
2017-12-10 17:01:14 -05:00
parent 347cae23e5
commit 5ea8f0b8e2
27 changed files with 110 additions and 44 deletions

View File

@@ -109,6 +109,15 @@ public class Pathfind{
}
}
public boolean finishedUpdating(){
for(SpawnPoint point : Vars.control.getSpawnPoints()){
if(point.pathTiles == null){
return false;
}
}
return true;
}
public void updatePath(){
for(SpawnPoint point : Vars.control.getSpawnPoints()){
point.finder = new IndexedAStarPathFinder<Tile>(graph);