|
|
|
@ -13,6 +13,7 @@ import engine.Enum;
@@ -13,6 +13,7 @@ import engine.Enum;
|
|
|
|
|
import engine.devcmd.AbstractDevCmd; |
|
|
|
|
import engine.gameManager.BuildingManager; |
|
|
|
|
import engine.gameManager.ZoneManager; |
|
|
|
|
import engine.math.Vector3f; |
|
|
|
|
import engine.objects.*; |
|
|
|
|
|
|
|
|
|
import java.lang.reflect.Field; |
|
|
|
@ -36,6 +37,8 @@ public class RegionCmd extends AbstractDevCmd {
@@ -36,6 +37,8 @@ public class RegionCmd extends AbstractDevCmd {
|
|
|
|
|
this.throwbackInfo(pc, "No Building At This Location.") ; |
|
|
|
|
} |
|
|
|
|
Regions region = ((AbstractCharacter)target).region; |
|
|
|
|
output += "In Floor: " + ((AbstractCharacter) target).getInFloorID() + newline; |
|
|
|
|
output += "In Building: " + ((AbstractCharacter) target).getInBuilding() + newline; |
|
|
|
|
if (region == null) { |
|
|
|
|
output += "No Region Found." + newline; |
|
|
|
|
}else{ |
|
|
|
@ -44,6 +47,8 @@ public class RegionCmd extends AbstractDevCmd {
@@ -44,6 +47,8 @@ public class RegionCmd extends AbstractDevCmd {
|
|
|
|
|
output += "Region Height: " + region.lerpY((AbstractCharacter)target) + newline; |
|
|
|
|
output += "is Stairs: " + region.isStairs() + newline; |
|
|
|
|
output += "is Outside: " + region.isOutside() + newline; |
|
|
|
|
for(Vector3f point : region.regionPoints) |
|
|
|
|
output += point + newline; |
|
|
|
|
output += "NavMesh Data" + newline; |
|
|
|
|
this.throwbackInfo(pc, output); |
|
|
|
|
} |
|
|
|
|