PointClickEngine::Core::Events::EventHandler(T)
Inherits Struct < Value < Object
Wrapper for event handlers with priority
Constructors
new(handler : Proc(T, Nil), priority : Int32 = HandlerPriority::Normal.value)
SourceInstance methods
<=>(other : EventHandler(T)) : Int32
Sort by priority (higher first), then by id (older first)
call(event : T)
Sourcehandler
Sourceid
Sourcepriority
Source