This method is called when a custom condition is met.
See the sample robots for examples of use, e.g. the {@code sample.Target}robot.
@param event the custom event that occurred
@see robocode.AdvancedRobot#addCustomEvent
@see robocode.CustomEvent
@see robocode.Event