de.hattrickorganizer.logik
Class KeeperTool

java.lang.Object
  extended by de.hattrickorganizer.logik.KeeperTool

public class KeeperTool
extends java.lang.Object

Main class to calculate the keeper subskill

Author:
draghetto

Constructor Summary
KeeperTool(int _form, int _tsi)
          Creates a new KeeperTool object.
 
Method Summary
 double getAvg()
          Return the calculated subskill if form is average
 double getMax()
          Return the calculated subskill if form is high
 double getMin()
          Return the calculated subskill if form is low
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeeperTool

public KeeperTool(int _form,
                  int _tsi)
Creates a new KeeperTool object.

Parameters:
_form - keeper form
_tsi - keeper tsi
Method Detail

getAvg

public final double getAvg()
Return the calculated subskill if form is average

Returns:
the subskill

getMax

public final double getMax()
Return the calculated subskill if form is high

Returns:
the subskill

getMin

public final double getMin()
Return the calculated subskill if form is low

Returns:
the subskill