org.agent
Class SampleAgent
java.lang.Object
org.agent.SampleAgent
public class SampleAgent
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
view
protected FieldPanel view
w
protected WorldData w
SampleAgent
public SampleAgent(RealPlayer p)
throws java.lang.Exception
- Throws:
java.lang.Exception
plan
public void plan(WorldData w,
FieldPanel view)
throws java.lang.Exception
- Accessible Object
w : WorldData
ex. w.ball(), w.
view : FieldPanel
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
kick
public void kick(Vector angle,
int force)
throws java.lang.Exception
- Throws:
java.lang.Exception
kick
public void kick(Vector angle_force)
throws java.lang.Exception
- Throws:
java.lang.Exception
velocities
public void velocities(double right,
double left)
throws java.lang.Exception
- Throws:
java.lang.Exception
rad2deg
public static double rad2deg(double rad)
deg2rad
public static double deg2rad(double deg)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
alert
public static void alert(java.lang.Object message)