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