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 [[Special:MyLanguage/Event|Event]] object to be dispatched from an [[Special:MyLanguage/EventDispatcher|EventDispatcher]].<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
Line 11: Line 11:
 
'''type''': (string) <translate></translate> <br/>
 
'''type''': (string) <translate></translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (any) <translate>New [[Event]] object.</translate><br/>
+
'''Returns''' (any) <translate>New [[Special:MyLanguage/Event|Event]] object.</translate><br/>
'''Returns''' (any) <translate>New [[Event]] object.</translate><br/>
+
'''Returns''' (any) <translate>New [[Special:MyLanguage/Event|Event]] object.</translate><br/>

Revision as of 16:33, 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.