cleanup
This commit is contained in:
1 parent
d57e5df356
commit
e128f60519
3 files changed
+10
-10
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user