JuniorRobot OnHitWall Method Robocode Robot API for .NET
This event method is called from the game when this robot has hit a wall. When this event occurs the HitWallAngle and HitWallBearing fields values are automatically updated.

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

public virtual void OnHitWall()
See Also