|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrc.yoda.utils.Wave
public class Wave
Wave - A class which contains needed info for recontructing a wave of bullets
Field Summary | |
---|---|
double |
bulletVelocity
The speed at which this wave is traveling |
double |
directAngle
The angle at which the target was when this Wave was fired |
int |
direction
The direction the targetted robot was travelling when this Wave was fired |
double |
distanceTraveled
The distance this Wave has traveled since the time it was fired |
java.awt.geom.Point2D.Double |
fireLocation
This Waves point of orgin |
long |
fireTime
The time at which this wave was fired |
int[] |
segments
If factor stats are segmented then this Waves indexes are stored for reference on logging |
Constructor Summary | |
---|---|
Wave()
Class Constructor |
Method Summary | |
---|---|
double |
flightTime(java.awt.geom.Point2D.Double target)
Calculates the time in which it will take this Wave to reach to specified target |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.awt.geom.Point2D.Double fireLocation
public long fireTime
public double bulletVelocity
public double directAngle
public double distanceTraveled
public int direction
public int[] segments
Constructor Detail |
---|
public Wave()
Method Detail |
---|
public double flightTime(java.awt.geom.Point2D.Double target)
Point2D.Double
- location of Wave target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |