private void removeObjectId ( int dtx , int dty ) { final int tw = transformable . getWidth ( ) / map . getTileWidth ( ) ; final int th = transformable . getHeight ( ) / map . getTileHeight ( ) ; for ( int tx = dtx ; tx < dtx + tw ; tx ++ ) { for ( int ty = dty ; ty < dty + th ; ty ++ ) { if ( mapPath . getObjectsId ( tx , ty ) . contains ( id ) ) { mapPath . removeObjectId ( tx , ty , id ) ; } } } }
Remove the map object id of the pathfindable .