Updated Basalt (markdown)
@@ -44,7 +44,7 @@ basalt.debug(basalt.getActiveFrame():getName()) -- returns myFirstFrame
|
|||||||
**returns:** frame object<br>
|
**returns:** frame object<br>
|
||||||
|
|
||||||
## basalt.autoUpdate
|
## basalt.autoUpdate
|
||||||
starts the logic, draw and event handler until you use basalt.stopUpdate
|
starts the draw and event handler until you use basalt.stopUpdate
|
||||||
````lua
|
````lua
|
||||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||||
basalt.autoUpdate()
|
basalt.autoUpdate()
|
||||||
@@ -53,7 +53,7 @@ basalt.autoUpdate()
|
|||||||
**returns:**-<br>
|
**returns:**-<br>
|
||||||
|
|
||||||
## basalt.update
|
## basalt.update
|
||||||
calls the basalt.update method once
|
calls the draw and event handler method once
|
||||||
````lua
|
````lua
|
||||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||||
basalt.autoUpdate()
|
basalt.autoUpdate()
|
||||||
@@ -62,7 +62,7 @@ basalt.autoUpdate()
|
|||||||
**returns:**-<br>
|
**returns:**-<br>
|
||||||
|
|
||||||
## basalt.stopUpdate
|
## basalt.stopUpdate
|
||||||
stops the logic, draw and event handler
|
stops the draw and event handler
|
||||||
````lua
|
````lua
|
||||||
basalt.stopUpdate()
|
basalt.stopUpdate()
|
||||||
````
|
````
|
||||||
|
|||||||
Reference in New Issue
Block a user