hp static method

double hp(
  1. double percent
)

Implementation

static double hp(double percent) {
  return screenHeight * percent;
}