Fork me on GitHub
View source

package haxepunk

class Signal<T>


extended by Signal0, Signal1, Signal2

A Signal binds one or more callback functions that will be called when something interesting happens. Signals call their callbacks with no arguments and expect no return value. @:since 4.0.0

Constructor

View source

new () : Void

Functions

View source

bind (callback : T) : Void

View source

clear () : Void

View source

exists (callback : T) : Bool

View source

remove (callback : T) : Void