add api
This commit is contained in:
138
docs/api/prosperon.md
Normal file
138
docs/api/prosperon.md
Normal file
@@ -0,0 +1,138 @@
|
||||
# prosperon
|
||||
#### phys2d_step()
|
||||
|
||||
|
||||
|
||||
#### window_render()
|
||||
|
||||
|
||||
|
||||
#### guid()
|
||||
|
||||
|
||||
|
||||
#### version
|
||||
**string**
|
||||
|
||||
|
||||
|
||||
#### revision
|
||||
**string**
|
||||
|
||||
|
||||
|
||||
#### semver
|
||||
**object**
|
||||
|
||||
Functions for semantic versioning numbers. Semantic versioning is given as a triple digit number, as MAJOR.MINOR.PATCH.
|
||||
|
||||
#### iconified(icon)
|
||||
|
||||
|
||||
|
||||
#### focus(focus)
|
||||
|
||||
|
||||
|
||||
#### resize(dimensions)
|
||||
|
||||
|
||||
|
||||
#### suspended(sus)
|
||||
|
||||
|
||||
|
||||
#### mouseenter()
|
||||
|
||||
|
||||
|
||||
#### mouseleave()
|
||||
|
||||
|
||||
|
||||
#### touchpress(touches)
|
||||
|
||||
|
||||
|
||||
#### touchrelease(touches)
|
||||
|
||||
|
||||
|
||||
#### touchmove(touches)
|
||||
|
||||
|
||||
|
||||
#### clipboardpaste(str)
|
||||
|
||||
|
||||
|
||||
#### quit()
|
||||
|
||||
|
||||
|
||||
#### keys
|
||||
**array**
|
||||
|
||||
[]
|
||||
|
||||
#### keydown(key, repeat)
|
||||
|
||||
|
||||
|
||||
#### keyup(key)
|
||||
|
||||
|
||||
|
||||
#### droppedfile(path)
|
||||
|
||||
|
||||
|
||||
#### textinput(c)
|
||||
|
||||
|
||||
|
||||
#### mousemove(pos, dx)
|
||||
|
||||
|
||||
|
||||
#### mousescroll(dx)
|
||||
|
||||
|
||||
|
||||
#### mousedown(b)
|
||||
|
||||
|
||||
|
||||
#### mouseup(b)
|
||||
|
||||
|
||||
|
||||
#### appupdate(...args)
|
||||
|
||||
|
||||
|
||||
#### update(...args)
|
||||
|
||||
|
||||
|
||||
#### physupdate(...args)
|
||||
|
||||
|
||||
|
||||
#### gui(...args)
|
||||
|
||||
|
||||
|
||||
#### debug(...args)
|
||||
|
||||
|
||||
|
||||
#### draw(...args)
|
||||
|
||||
|
||||
|
||||
#### screengui(...args)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user