This commit is contained in:
2023-10-27 23:16:08 -05:00
parent d57e5df356
commit e128f60519
3 changed files with 10 additions and 10 deletions
+3
View File
@@ -9,6 +9,7 @@
package engine.objects;
import com.sun.prism.Mesh;
import engine.Enum;
import engine.Enum.*;
import engine.InterestManagement.RealmMap;
@@ -1536,6 +1537,8 @@ public class Building extends AbstractWorldObject {
}
public void updateNavMesh(){
//TODO figure out how to subtract the mesh of the building form the navMesh
for(Regions region : this.getBounds().getRegions())
this.parentZone.navMesh.add(region.getArea());
}