CollisionHandlerHighestEvent

class CollisionHandlerHighestEvent

Bases: CollisionHandlerEvent

A specialized kind of CollisionHandler that throws an event for each collision detected. The event thrown may be based on the name of the moving object or the struck object, or both. The first parameter of the event will be a pointer to the CollisionEntry that triggered it.

Inheritance diagram

Inheritance diagram of CollisionHandlerHighestEvent

CollisionHandlerHighestEvent(void)
CollisionHandlerHighestEvent(CollisionHandlerHighestEvent const&) = default

The default CollisionHandlerEvent will throw no events. Its pattern strings must first be set via a call to add_in_pattern() and/or add_out_pattern().

static TypeHandle get_class_type(void)