Event

From Wake
Jump to: navigation, search

Class: Event

Type: Lua

Can Construct: yes

Description

Dispatches events within game code.

This is best used when you need a custom NativeEvent and want a similar API. This is implemented in pure Lua and supports all of the same operations as NativeEvent.

Functions

 Description
Event.newConstructor.
Event:bindBind a function to an event.
Event:callCall all functions bound to an event.
Event:clearUnbinds all functions from an event.
Event:unbindUnbind a function from an event.

See Also