Updated Basalt (markdown)

Robert Jelic
2022-05-06 18:22:05 +02:00
parent 8eca4c5f0b
commit 6669e01b96

@@ -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()
```` ````