JuniorRobot HitRobotAngle Property Robocode Robot API for .NET
Latest angle where this robot has hit another robot (in degrees). If this robot has never hit another robot, this field will be less than 0, i.e. -1. This field will not be updated while OnHitRobot  event is active.

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version:

public int HitRobotAngle { get; }

Property Value

Type: OnlineInt32
See Also