|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthoplugins.commons.vo.MatchRating
Class with holds the Ratings of a team in the 7 areas of the field
Constructor Summary | |
MatchRating()
|
Method Summary | |
int |
float2HTint(float x)
Convert reduced float rating (1.00....20.99) to original integer HT rating (1...80) one +0.5 is because of correct rounding to integer |
double |
getCentralAttack()
Gets the central attack rating |
double |
getCentralDefense()
Gets the central defense rating |
double |
getHatStats()
Returns the calculated HatStats (3 midfield) + (sum of defence) + (sum of
attack ) |
double |
getLeftAttack()
Gets the left attack rating |
double |
getLeftDefense()
Gets the left defense rating |
double |
getLoddarStats(int tactic,
int level)
Returns the calculated LoddarStats |
double |
getMidfield()
Gets the midfield rating |
double |
getPStats()
Returns the calculated PStats (aka PeasoStats) |
double |
getRightAttack()
Gets the right attack rating |
double |
getRightDefense()
Gets the right defense rating |
double |
getSmartSquad(double stars)
Returns the calculated Smart Squad Rating ( Squad Rating / stars ) |
double |
getSquad()
Returns the calculated Squad Rating (2 midfield) + (sum of defence) + (sum of
attack ) |
void |
setCentralAttack(double rating)
Sets the central attack rating |
void |
setCentralDefense(double rating)
Sets the central defense rating |
void |
setLeftAttack(double rating)
Sets the left attack rating |
void |
setLeftDefense(double rating)
Sets the left defense rating |
void |
setMidfield(double rating)
Sets the midfield rating |
void |
setRightAttack(double rating)
Sets the right attack rating |
void |
setRightDefense(double rating)
Sets the right defense rating |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MatchRating()
Method Detail |
public final void setCentralAttack(double rating)
rating
- The ratingpublic final double getCentralAttack()
public final void setCentralDefense(double rating)
rating
- The ratingpublic final double getCentralDefense()
public final double getHatStats()
(3 midfield) + (sum of defence) + (sum of
attack )
public final void setLeftAttack(double rating)
rating
- The ratingpublic final double getLeftAttack()
public final void setLeftDefense(double rating)
rating
- The ratingpublic final double getLeftDefense()
public final double getLoddarStats(int tactic, int level)
tactic
- The tactic codelevel
- The tactic rating
public final void setMidfield(double rating)
rating
- The ratingpublic final double getMidfield()
public final double getPStats()
public final void setRightAttack(double rating)
rating
- The ratingpublic final double getRightAttack()
public final void setRightDefense(double rating)
rating
- The ratingpublic final double getRightDefense()
public final double getSmartSquad(double stars)
Squad Rating / stars
)
stars
- Team star rating
public final double getSquad()
(2 midfield) + (sum of defence) + (sum of
attack )
public final int float2HTint(float x)
x
- HO float rating
public final java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |