uk.ac.ed.inf.sdp2012.group7.strategy.planning
Class TargetDecision
java.lang.Object
uk.ac.ed.inf.sdp2012.group7.strategy.planning.TargetDecision
public class TargetDecision
- extends java.lang.Object
- Author:
- s0955088
EVERYTHING IN HERE SHOULD BE IN THE NODE SYSTEM
Field Summary |
static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.apache.log4j.Logger logger
TargetDecision
public TargetDecision(AllMovingObjects aMO,
AllStaticObjects aSO)
setTargets
public void setTargets()
ballPrediction
public Node ballPrediction(double time)
ballPredictionCalculation
public static Node ballPredictionCalculation(Node ball,
double angle,
double velocity,
double time,
double pitchWidthInNodes,
double pitchHeightInNodes)
getClearShot
public boolean getClearShot()
getAction
public int getAction()
getPlanType
public int getPlanType()
getAngleWanted
public double getAngleWanted()
getTarget
public Node getTarget()
getNavPoint
public Node getNavPoint()
getWeHaveTheBall
public boolean getWeHaveTheBall()
getTheyHaveTheBall
public boolean getTheyHaveTheBall()
getBallOnThePitch
public boolean getBallOnThePitch()
getTargetCM
public double getTargetCM()