Log.info("Have map: "+(map != null));
Log.info("Have map2: "+(map.getTiledMapGDX() != null));
Log.info("Have map3: "+(map.getTiledMapGDX().gdxMap != null));
map.world = new World(new Vector2(), true);
TiledMapTileLayer collisionLayer = (TiledMapTileLayer) map.getTiledMapGDX().gdxMap.getLayers().get(Detonator.INSTANCE.obstaclesLayerCode);
if(collisionLayer != null){
for(int y = 0; y < collisionLayer.getHeight(); y++){
for(int x = 0; x < collisionLayer.getWidth(); x++){
String collision = "false";
TiledMapTileLayer.Cell tile = collisionLayer.getCell(x, y);
if(tile != null){
collision = "true";
tileProps = tile.getTile().getProperties();
if (tileProps.containsKey("iswall")){
collision = tile.getTile().getProperties().get("collision", String.class);