newCynic
Class Cynical.TargetList

java.lang.Object
  |
  +--newCynic.Cynical.TargetList
Enclosing class:
Cynical

public class Cynical.TargetList
extends java.lang.Object


Field Summary
 Target closest_target
           
private  long last_scan_completion_time
           
private  double targets_k
           
private  double targets_k_delta
           
private  java.util.Hashtable targets_table
           
 
Constructor Summary
Cynical.TargetList()
           
 
Method Summary
 void begin_round()
           
 void begin_turn()
           
 void collide(robocode.HitRobotEvent e)
           
 Target get_closest_target(double time_on_aiming)
           
 GeomVector get_reaction_vector()
           
 void hit_by_bullet(robocode.HitByBulletEvent e)
           
 void hit(robocode.BulletHitEvent e)
           
 void one_less(robocode.RobotDeathEvent e)
           
 boolean scan_completed()
           
 void showStatistics()
           
 void update(robocode.ScannedRobotEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

closest_target

public Target closest_target

targets_k_delta

private final double targets_k_delta
See Also:
Constant Field Values

targets_k

private double targets_k

targets_table

private java.util.Hashtable targets_table

last_scan_completion_time

private long last_scan_completion_time
Constructor Detail

Cynical.TargetList

public Cynical.TargetList()
Method Detail

begin_round

public void begin_round()

begin_turn

public void begin_turn()

update

public void update(robocode.ScannedRobotEvent e)

one_less

public void one_less(robocode.RobotDeathEvent e)

hit

public void hit(robocode.BulletHitEvent e)

collide

public void collide(robocode.HitRobotEvent e)

hit_by_bullet

public void hit_by_bullet(robocode.HitByBulletEvent e)

get_closest_target

public Target get_closest_target(double time_on_aiming)

get_reaction_vector

public GeomVector get_reaction_vector()

scan_completed

public boolean scan_completed()

showStatistics

public void showStatistics()