forked from MagicBane/Server
cleanup
This commit is contained in:
@@ -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