Browse Source

DevCmd output updated

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
f18acf3e68
  1. 9
      src/engine/devcmd/cmds/GetHeightCmd.java

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

@ -56,17 +56,20 @@ public class GetHeightCmd extends AbstractDevCmd { @@ -56,17 +56,20 @@ public class GetHeightCmd extends AbstractDevCmd {
this.throwbackInfo(playerCharacter, "Height returned : " + parentHeight);
this.throwbackInfo(playerCharacter, "------------");
this.throwbackInfo(playerCharacter, "Min: " + heightmapZone.getHeightMap().zone_maxBlend + " Max: " + heightmapZone.getHeightMap().zone_maxBlend);
if (Bounds.collide(playerCharacter.getLoc(), heightmapZone.maxBlend)) {
this.throwbackInfo(playerCharacter, "Blend: Max / Child");
this.throwbackInfo(playerCharacter, "Blend: Max (Child)");
return;
}
if (Bounds.collide(playerCharacter.getLoc(), heightmapZone.minBlend)) {
this.throwbackInfo(playerCharacter, "Blend: Min / LERP");
this.throwbackInfo(playerCharacter, "Blend: Min (LERP)");
return;
}
this.throwbackInfo(playerCharacter, "Blend: None / Parent");
this.throwbackInfo(playerCharacter, "Blend: None (Parent)");
}

Loading…
Cancel
Save