Difference between revisions of "Event.new"

From GiderosMobile
Line 3: Line 3:
 
=== Description ===
 
=== Description ===
 
<translate><br />
 
<translate><br />
Creates a new [[Event` object to be dispatched from an `EventDispatcher]].<br />
+
Creates a new [[Event]] object to be dispatched from an [[EventDispatcher]].<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 14:00, 23 August 2018

Available since: Gideros 2011.6

Description


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

(any), (any) = Event.new(type)

Parameters

type: (string)

Return values

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