Add custom implementation for onHitRobot method.