Browse Source

devcmd output updated with grid.

feature-workorder
MagicBot 1 year ago
parent
commit
15a79ee9bd
  1. 2
      src/engine/devcmd/cmds/GetHeightCmd.java

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

@ -43,7 +43,7 @@ public class GetHeightCmd extends AbstractDevCmd { @@ -43,7 +43,7 @@ public class GetHeightCmd extends AbstractDevCmd {
Vector2f zoneLoc = ZoneManager.worldToZoneSpace(playerCharacter.getLoc(), currentZone);
Vector2f gridSquare = currentZone.getHeightMap().getGridSquare(zoneLoc);
this.throwbackInfo(playerCharacter, "Grid : " + gridSquare.toString());
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, "Character Height: " + playerCharacter.getCharacterHeight());

Loading…
Cancel
Save