uk.ac.ed.inf.sdp2012.group7.strategy.planning
Class AllMovingObjects

java.lang.Object
  extended by uk.ac.ed.inf.sdp2012.group7.strategy.planning.AllMovingObjects

public class AllMovingObjects
extends java.lang.Object


Field Summary
 WorldState worldState
           
 
Constructor Summary
AllMovingObjects(AllStaticObjects aSO)
           
 
Method Summary
 double angleBetween(Node p1, Node p2)
           
 double convertAngle(double angle)
           
 double getBallAngle()
           
 java.util.ArrayList<Node> getBallObstacles()
           
 Node getBallPosition()
           
 double getBallVelocity()
           
 java.util.ArrayList<Node> getBinaryObstacles()
           
 double getOurAngle()
           
 Node getOurPosition()
           
 double getOurVelocity()
           
 java.util.ArrayList<Node> getRobotObstacles()
           
 double getTheirAngle()
           
 Node getTheirPosition()
           
 double getTheirVelocity()
           
 void update(AllStaticObjects aSO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

worldState

public WorldState worldState
Constructor Detail

AllMovingObjects

public AllMovingObjects(AllStaticObjects aSO)
Method Detail

update

public void update(AllStaticObjects aSO)

convertAngle

public double convertAngle(double angle)

angleBetween

public double angleBetween(Node p1,
                           Node p2)

getRobotObstacles

public java.util.ArrayList<Node> getRobotObstacles()

getBallObstacles

public java.util.ArrayList<Node> getBallObstacles()

getBinaryObstacles

public java.util.ArrayList<Node> getBinaryObstacles()

getOurPosition

public Node getOurPosition()

getTheirPosition

public Node getTheirPosition()

getBallPosition

public Node getBallPosition()

getOurVelocity

public double getOurVelocity()

getTheirVelocity

public double getTheirVelocity()

getBallVelocity

public double getBallVelocity()

getOurAngle

public double getOurAngle()

getTheirAngle

public double getTheirAngle()

getBallAngle

public double getBallAngle()