Rules MethodsRobocode Robot API for .NET
The Rules type exposes the following members.
Methods

  NameDescription
Public methodStatic memberGetBulletDamage
Returns the amount of damage of a bullet given a specific bullet power.
Public methodStatic memberGetBulletHitBonus
Returns the amount of bonus given when a robot's bullet hits an opponent robot given a specific bullet power.
Public methodStatic memberGetBulletSpeed
Returns the speed of a bullet given a specific bullet power measured in pixels/turn.
Public methodStatic memberGetGunHeat
Returns the heat produced by firing the gun given a specific bullet power.
Public methodStatic memberGetTurnRate
Returns the turn rate of a robot given a specific velocity measured in degrees/turn.
Public methodStatic memberGetTurnRateRadians
Returns the turn rate of a robot given a specific velocity measured in radians/turn.
Public methodStatic memberGetWallHitDamage
Returns the amount of damage taken when robot hits a wall with a specific velocity.
Back to Top
See Also