Event.new

From GiderosMobile
Revision as of 15:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2011.6
Class: Event

Description

Creates a new Event object to be dispatched from an EventDispatcher.

<syntaxhighlight lang="lua"> (any), (any) = Event.new(type) </source>

Parameters

type: (string)

Return values

Returns (any) New Event object.
Returns (any) New Event object.