Difference between revisions of "Core"
From GiderosMobile
Line 5: | Line 5: | ||
'''<translate>Available since</translate>:''' Gideros 2012.2<br/> | '''<translate>Available since</translate>:''' Gideros 2012.2<br/> | ||
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Object|Object]]<br/> | '''<translate>Inherits from</translate>:''' [[Special:MyLanguage/Object|Object]]<br/> | ||
+ | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Gideros Core functions</translate> | <translate>Gideros Core functions</translate> | ||
+ | |||
=== <translate>Examples</translate> === | === <translate>Examples</translate> === | ||
− | + | <source lang="lua"> | |
− | <source lang="lua">MySprite = Core.class(Sprite) | + | MySprite = Core.class(Sprite) |
--my custom sprite class | --my custom sprite class | ||
function MySprite:init() | function MySprite:init() | ||
− | end</source> | + | end |
+ | </source> | ||
+ | |||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
Line 30: | Line 34: | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === | ||
|} | |} | ||
− | |||
− |
Revision as of 23:18, 9 December 2019
Supported platforms:
Available since: Gideros 2012.2
Inherits from: Object
Description
Gideros Core functions
Examples
MySprite = Core.class(Sprite)
--my custom sprite class
function MySprite:init()
end
MethodsCore.asyncCall Launch function on separate thread as background task |
EventsConstants |