Re-made all maps, added block smoke effects

This commit is contained in:
Anuken
2017-05-20 12:56:02 -04:00
parent c74a8a2fa6
commit 6381fbc52d
12 changed files with 27 additions and 3 deletions

View File

@@ -15,11 +15,11 @@ public class PassTileGraph implements IndexedGraph<Tile>{
public Array<Connection<Tile>> getConnections(Tile fromNode){
tempConnections.clear();
if(fromNode.block().solid && !fromNode.block().update)
if(!fromNode.passable())
return tempConnections;
for(Tile tile : fromNode.getNearby()){
if(tile != null && (!tile.block().solid || tile.block().update))
if(tile != null && (tile.passable()))
tempConnections.add(new TileConnection(fromNode, tile));
}