SiliconGhetto Engine API
Homepage
GitHub
Preparing search index...
types
GameCallbacks
Interface GameCallbacks
Callbacks for the main game loop, passed to
sg.run()
.
interface
GameCallbacks
{
update
?:
(
sg
?:
any
)
=>
void
;
draw
?:
(
sg
?:
any
)
=>
void
;
}
Index
Properties
update?
draw?
Properties
Optional
update
update
?:
(
sg
?:
any
)
=>
void
Optional
draw
draw
?:
(
sg
?:
any
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
update
draw
Homepage
GitHub
SiliconGhetto Engine API
Loading...
Callbacks for the main game loop, passed to
sg.run().