public class Evaluator
extends java.lang.Object
Constructor and Description |
---|
Evaluator() |
Modifier and Type | Method and Description |
---|---|
void |
calculate(infoObject object) |
double |
distance(java.awt.geom.Point2D.Double p1,
java.awt.geom.Point2D.Double p2) |
int |
getBalldistScore(int team) |
int |
getScore(int team)
Returns the scores, must invoke calculate first!
|
public int getScore(int team)
team
- 0: left, 1: rightpublic int getBalldistScore(int team)
public void calculate(infoObject object)
public double distance(java.awt.geom.Point2D.Double p1, java.awt.geom.Point2D.Double p2)