public class Prophet extends Object implements ParsedDataObserver
Modifier and Type | Field and Description |
---|---|
private AgentModel |
agent |
private Vector3D |
ballOldPosition |
private double |
ballOldTime |
private Vector3D |
ballposition |
private Vector3D |
ballSpeed |
private static Prophet |
instance |
private double |
now |
private Vector3D |
old_position |
private double |
old_time |
private Vector3D |
position |
private Vector3D |
predikciaBall |
private Vector3D |
predikciaHrac |
private Vector3D |
predikciaL |
private Prophecy |
prophecy |
private Vector3D |
speed |
private WorldModel |
world |
Modifier | Constructor and Description |
---|---|
private |
Prophet() |
Modifier and Type | Method and Description |
---|---|
void |
calcballPrediction(int time) |
private void |
calcOpponentPlayerPrediction(int time) |
private void |
calcTeamPlayerPrediction(int time) |
static Prophet |
getInstance() |
void |
processNewServerMessage(ParsedData data) |
private Prophecy prophecy
private final AgentModel agent
private final WorldModel world
private static Prophet instance
private Vector3D position
private Vector3D old_position
private Vector3D speed
private Vector3D predikciaL
private double old_time
private Vector3D predikciaHrac
private Vector3D predikciaBall
private double ballOldTime
private double now
private Vector3D ballOldPosition
private Vector3D ballposition
private Vector3D ballSpeed
public static Prophet getInstance()
public void processNewServerMessage(ParsedData data)
processNewServerMessage
in interface ParsedDataObserver
private void calcOpponentPlayerPrediction(int time)
private void calcTeamPlayerPrediction(int time)
public void calcballPrediction(int time)