Class IsoObjectUtils

java.lang.Object
com.avrix.api.shared.IsoObjectUtils

public class IsoObjectUtils extends Object
A set of tools for working with isometric objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    getDistance(zombie.iso.IsoObject object1, zombie.iso.IsoObject object2)
    Calculates the distance between two objects in isometric space.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IsoObjectUtils

      public IsoObjectUtils()
  • Method Details

    • getDistance

      public static float getDistance(zombie.iso.IsoObject object1, zombie.iso.IsoObject object2)
      Calculates the distance between two objects in isometric space. Height distance is ignored (axis Z).
      Parameters:
      object1 - The first object (object of type IsoObject) whose coordinates are used to calculate the distance.
      object2 - The second object (object of type IsoObject) whose coordinates are used to calculate the distance.
      Returns:
      The distance between two objects in isometric space.