Browse Source

Devcmd updated

feature-workorder
MagicBot 1 year ago
parent
commit
c705f45856
  1. 6
      src/engine/devcmd/cmds/GetHeightCmd.java

6
src/engine/devcmd/cmds/GetHeightCmd.java

@ -41,14 +41,16 @@ public class GetHeightCmd extends AbstractDevCmd { @@ -41,14 +41,16 @@ public class GetHeightCmd extends AbstractDevCmd {
this.throwbackInfo(playerCharacter, "Current Zone : " + currentZone.getName());
this.throwbackInfo(playerCharacter, "Heightmap Zone : " + heightmapZone.getName());
this.throwbackInfo(playerCharacter, "Altitude : " + currentHeight);
this.throwbackInfo(playerCharacter, "Zone Altitude : " + heightmapZone.getWorldAltitude());
this.throwbackInfo(playerCharacter, "Height returned: " + currentHeight);
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), heightmapZone);
Vector2f gridSquare = heightmapZone.getHeightMap().getGridSquare(zoneLoc);
this.throwbackInfo(playerCharacter, "Grid : " + (int) gridSquare.x + "x" + (int) gridSquare.y);
this.throwbackInfo(playerCharacter, "Parent : " + parentZone.getName());
this.throwbackInfo(playerCharacter, "Altitude : " + parentHeight);
this.throwbackInfo(playerCharacter, "Zone Altitude : " + heightmapZone.getWorldAltitude());
this.throwbackInfo(playerCharacter, "Height returned : " + parentHeight);
this.throwbackInfo(playerCharacter, "Character Height: " + playerCharacter.getCharacterHeight());
}

Loading…
Cancel
Save