public override void onHitWall(HitWallEvent @event) { this.turnRight(90 - @event.getBearing()); this.back(10); this.turnLeft(180); this.ahead(40); }