BulletHitEvent PropertiesRobocode Robot API for .NET
The BulletHitEvent type exposes the following members.
Properties

  NameDescription
Public propertyBullet
Returns the bullet of yours that hit the robot.
Public propertyPriority
The priority of this event.

An event priority is a value from 0 - 99. The higher value, the higher priority.

The default priority is 80, but varies depending on the type of event.

(Inherited from Event.)
Public propertyTime
The time when this event occurred.
(Inherited from Event.)
Public propertyVictimEnergy
Returns the remaining energy of the robot your bullet has hit (after the damage done by your bullet).
Public propertyVictimName
Returns the name of the robot your bullet hit.
Back to Top
See Also