Difference between revisions of "Event.new"
From GiderosMobile
Line 4: | Line 4: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> | ||
− | Creates a new | + | 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 12: | Line 12: | ||
'''type''': (string) <translate></translate> <br/> | '''type''': (string) <translate></translate> <br/> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (any) <translate>New | + | '''<translate>Returns</translate>''' (any) <translate>New [[Special:MyLanguage/Event|Event]] object.</translate><br/> |
− | '''<translate>Returns</translate>''' (any) <translate>New | + | '''<translate>Returns</translate>''' (any) <translate>New [[Special:MyLanguage/Event|Event]] object.</translate><br/> |
Revision as of 09:35, 24 August 2018
Available since: Gideros 2011.6
Class: Event
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.