|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITrainingPoint
DOCUMENT ME!
| Method Summary | |
|---|---|
void |
addTrainingMatch(int minutes,
int posId)
Adds a match to the internal list |
double |
calcTrainingPoints(boolean ignorePosition)
Calculate how many points the player gets for this week, using the matches previously added with addTrainingMatch(min, posId) Optimal: 100% position + 90mins -> points = 1.0 |
java.lang.Double |
getTrainingPoint(int trtype,
java.lang.Integer playerMatchPosition)
Mathod that returns the correct training point |
ITrainingWeek |
getTrainWeek()
Returns the training week for this training point |
| Method Detail |
|---|
java.lang.Double getTrainingPoint(int trtype,
java.lang.Integer playerMatchPosition)
trtype - Training type codeplayerMatchPosition - player position code
void addTrainingMatch(int minutes,
int posId)
minutes - How long was the player on the field in this matchposId - Position of the player in this matchdouble calcTrainingPoints(boolean ignorePosition)
ignorePosition - Ignore players position, otherwise use only minutes on correct position
ITrainingWeek getTrainWeek()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||