Class HitBoxCalculatorUtil

java.lang.Object
dev.cerus.maps.util.HitBoxCalculatorUtil

public class HitBoxCalculatorUtil extends Object
Calculates hit boxes for map screens
  • Method Details

    • calculateHitBox

      public static MapScreen.HitBox calculateHitBox(MapScreen screen)
      Calculate the hit box of a map screen
      Parameters:
      screen - The screen to calculate the hit box for
      Returns:
      The calculated hit box or null if the calculation failed