JuniorRobot HitWallBearing Property Robocode Robot API for .NET
Latest angle where this robot has hit a wall (in degrees) compared to the body of this robot. If this robot has never hit a wall, this field will be less than 0, i.e. -1. This field will not be updated while OnHitWall  event is active.

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

public int HitWallBearing { get; }

Property Value

Type: OnlineInt32
See Also