Difference between revisions of "Core"
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
=== Example === | === Example === | ||
− | < | + | <syntaxhighlight 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 | end | ||
− | </ | + | </syntaxhighlight> |
{|- | {|- |
Latest revision as of 15:27, 13 July 2023
Supported platforms:
Available since: Gideros 2012.2
Inherits from: Object
Description
Gideros Core functions.
Example
MySprite = Core.class(Sprite)
--my custom sprite class
function MySprite:init()
end
MethodsCore.asyncCall launches function on separate thread as background task |
EventsConstants |