Property | Type | Description | |
---|---|---|---|
ACCELERATION | double | ||
DECELERATION | double | ||
GUN_TURN_RATE | double | ||
GUN_TURN_RATE_RADIANS | double | ||
MAX_BULLET_POWER | double | ||
MAX_TURN_RATE | double | ||
MAX_TURN_RATE_RADIANS | double | ||
MAX_VELOCITY | double | ||
MIN_BULLET_POWER | double | ||
RADAR_SCAN_RADIUS | double | ||
RADAR_TURN_RATE | double | ||
RADAR_TURN_RATE_RADIANS | double | ||
ROBOT_HIT_BONUS | double | ||
ROBOT_HIT_DAMAGE | double |
Method | Description | |
---|---|---|
GetBulletDamage ( double bulletPower ) : double |
Returns the amount of damage of a bullet given a specific bullet power.
|
|
GetBulletHitBonus ( double bulletPower ) : double |
Returns the amount of bonus given when a robot's bullet hits an opponent robot given a specific bullet power.
|
|
GetBulletSpeed ( double bulletPower ) : double |
Returns the speed of a bullet given a specific bullet power measured in pixels/turn.
|
|
GetGunHeat ( double bulletPower ) : double |
Returns the heat produced by firing the gun given a specific bullet power.
|
|
GetTurnRate ( double velocity ) : double |
Returns the turn rate of a robot given a specific velocity measured in degrees/turn. GetTurnRateRadians(double)
|
|
GetTurnRateRadians ( double velocity ) : double |
Returns the turn rate of a robot given a specific velocity measured in radians/turn. GetTurnRate(double)
|
|
GetWallHitDamage ( double velocity ) : double |
Returns the amount of damage taken when robot hits a wall with a specific velocity.
|
public static GetBulletDamage ( double bulletPower ) : double | ||
bulletPower | double | the energy power of the bullet. |
return | double |
public static GetBulletHitBonus ( double bulletPower ) : double | ||
bulletPower | double | the energy power of the bullet |
return | double |
public static GetBulletSpeed ( double bulletPower ) : double | ||
bulletPower | double | the energy power of the bullet. |
return | double |
public static GetGunHeat ( double bulletPower ) : double | ||
bulletPower | double | the energy power of the bullet |
return | double |
public static GetTurnRate ( double velocity ) : double | ||
velocity | double | The velocity of the robot. |
return | double |
public static GetTurnRateRadians ( double velocity ) : double | ||
velocity | double | the velocity of the robot. |
return | double |
public static GetWallHitDamage ( double velocity ) : double | ||
velocity | double | the velocity of the robot. |
return | double |
public static double GUN_TURN_RATE_RADIANS | ||
return | double |
public static double MAX_TURN_RATE_RADIANS | ||
return | double |
public static double RADAR_TURN_RATE_RADIANS | ||
return | double |