Difference between revisions of "Core"
From GiderosMobile
Line 2: | Line 2: | ||
'''Supported platforms:''' mac, pc<br/> | '''Supported platforms:''' mac, pc<br/> | ||
'''Available since:''' Gideros 2012.2<br/> | '''Available since:''' Gideros 2012.2<br/> | ||
− | === Description === | + | === <translate>Description</translate> === |
<translate>Gideros Core functions</translate> | <translate>Gideros Core functions</translate> | ||
− | === Examples === | + | === <translate>Examples</translate> === |
'''Example'''<br/> | '''Example'''<br/> | ||
<source lang="lua">MySprite = Core.class(Sprite) | <source lang="lua">MySprite = Core.class(Sprite) | ||
Line 12: | Line 12: | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Methods === | + | === <translate>Methods</translate> === |
[[Special:MyLanguage/Core.asyncCall|Core.asyncCall]] ''<translate>Launch function on separate thread as background task</translate>''<br/> | [[Special:MyLanguage/Core.asyncCall|Core.asyncCall]] ''<translate>Launch function on separate thread as background task</translate>''<br/> | ||
[[Special:MyLanguage/Core.class|Core.class]] ''<translate>Creates and returns new Gideros class</translate>''<br/> | [[Special:MyLanguage/Core.class|Core.class]] ''<translate>Creates and returns new Gideros class</translate>''<br/> | ||
Line 24: | Line 24: | ||
[[Special:MyLanguage/Core.yield|Core.yield]] ''<translate>Yield function running as background task</translate>''<br/> | [[Special:MyLanguage/Core.yield|Core.yield]] ''<translate>Yield function running as background task</translate>''<br/> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Events === | + | === <translate>Events</translate> === |
− | === Constants === | + | === <translate>Constants</translate> === |
|} | |} |
Revision as of 07:30, 24 August 2018
Supported platforms: mac, pc
Available since: Gideros 2012.2
Description
Gideros Core functions
Examples
Example
MySprite = Core.class(Sprite)
--my custom sprite class
function MySprite:init()
end
MethodsCore.asyncCall Launch function on separate thread as background task |
EventsConstants |