|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.hattrickorganizer.logik.InjuryCalculator
public final class InjuryCalculator
The Main Injury Calculator
| Method Summary | |
|---|---|
static double |
getDoctorNumber(int age,
double injury,
double target,
double updates)
Returns the estimated doctor number |
static double |
getUpdateNumber(int age,
double injury,
double target,
int doctors)
Returns the estimated update number |
static double |
getUpdateTSINumber(double tsiPre,
double tsiPost,
double target,
double tsi)
Returns the exact update number |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double getDoctorNumber(int age,
double injury,
double target,
double updates)
age - player's ageinjury - actual injury leveltarget - desired injury levelupdates - number of updates
public static double getUpdateNumber(int age,
double injury,
double target,
int doctors)
age - player's ageinjury - actual injury leveltarget - desired injury leveldoctors - number of doctors
public static double getUpdateTSINumber(double tsiPre,
double tsiPost,
double target,
double tsi)
tsiPre - TSI Before injurytsiPost - TSI After injury, but before a trainingtarget - desired injury leveltsi - TSI gained last update
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||