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