littlejsengine 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +55 -0
  2. package/build.bat +2 -1
  3. package/engine/engine.all.js +1320 -930
  4. package/engine/engine.all.min.js +1 -1
  5. package/engine/engine.all.release.js +965 -601
  6. package/engine/engine.js +71 -60
  7. package/engine/engineAudio.js +80 -22
  8. package/engine/engineBuild.bat +2 -2
  9. package/engine/engineDebug.js +65 -36
  10. package/engine/engineDraw.js +71 -56
  11. package/engine/engineInput.js +178 -28
  12. package/engine/engineMedals.js +66 -58
  13. package/engine/engineObject.js +86 -71
  14. package/engine/engineParticles.js +101 -63
  15. package/engine/engineRelease.js +4 -1
  16. package/engine/engineSettings.js +62 -53
  17. package/engine/engineTileLayer.js +99 -83
  18. package/engine/engineUtilities.js +95 -59
  19. package/engine/engineWebGL.js +53 -48
  20. package/examples/breakout/game.js +1 -1
  21. package/examples/breakout/gameObjects.js +2 -2
  22. package/examples/breakout/index.html +7 -5
  23. package/examples/platformer/game.js +7 -4
  24. package/examples/platformer/gameEffects.js +8 -11
  25. package/examples/platformer/gameLevel.js +15 -8
  26. package/examples/platformer/gameObjects.js +2 -2
  27. package/examples/platformer/gamePlayer.js +6 -6
  28. package/examples/platformer/index.html +10 -8
  29. package/examples/puzzle/game.js +3 -3
  30. package/examples/puzzle/index.html +6 -4
  31. package/examples/stress/index.html +7 -5
  32. package/game.js +10 -10
  33. package/index.html +17 -15
  34. package/package.json +4 -7
  35. package/tiles.png +0 -0
  36. package/LittleJS.zip +0 -0
  37. package/docs/Audio.html +0 -2264
  38. package/docs/Color.html +0 -2506
  39. package/docs/Debug.html +0 -2929
  40. package/docs/Draw.html +0 -3854
  41. package/docs/EngineObject.html +0 -2506
  42. package/docs/Input.html +0 -2478
  43. package/docs/Medal.html +0 -992
  44. package/docs/Medals.html +0 -624
  45. package/docs/Music.html +0 -569
  46. package/docs/Newgrounds.html +0 -1384
  47. package/docs/Particle.html +0 -567
  48. package/docs/ParticleEmitter.html +0 -1537
  49. package/docs/Random.html +0 -1770
  50. package/docs/Settings.html +0 -2885
  51. package/docs/Sound.html +0 -998
  52. package/docs/TileLayer.html +0 -3211
  53. package/docs/TileLayerData.html +0 -569
  54. package/docs/Timer.html +0 -1168
  55. package/docs/Utilities.html +0 -3266
  56. package/docs/Vector2.html +0 -3956
  57. package/docs/WebGL.html +0 -1842
  58. package/docs/engine.js.html +0 -428
  59. package/docs/engineAudio.js.html +0 -567
  60. package/docs/engineDebug.js.html +0 -721
  61. package/docs/engineDraw.js.html +0 -409
  62. package/docs/engineInput.js.html +0 -397
  63. package/docs/engineMedals.js.html +0 -445
  64. package/docs/engineObject.js.html +0 -492
  65. package/docs/engineParticles.js.html +0 -399
  66. package/docs/engineSettings.js.html +0 -358
  67. package/docs/engineTileLayer.js.html +0 -482
  68. package/docs/engineUtilities.js.html +0 -600
  69. package/docs/engineWebGL.js.html +0 -507
  70. package/docs/fonts/MavenPro-Regular.ttf +0 -0
  71. package/docs/fonts/Montserrat-Regular.ttf +0 -0
  72. package/docs/fonts/Muli-Black.ttf +0 -0
  73. package/docs/fonts/OFL-hind.txt +0 -93
  74. package/docs/fonts/OFL-montserrat.txt +0 -93
  75. package/docs/global.html +0 -1635
  76. package/docs/index.html +0 -243
  77. package/docs/scripts/fix-code-block.js +0 -53
  78. package/docs/scripts/fix-navbar.js +0 -25
  79. package/docs/scripts/linenumber.js +0 -25
  80. package/docs/scripts/misc.js +0 -217
  81. package/docs/scripts/resize.js +0 -85
  82. package/docs/scripts/search.js +0 -83
  83. package/docs/scripts/third-party/Apache-License-2.0.txt +0 -202
  84. package/docs/scripts/third-party/fuse.js +0 -9
  85. package/docs/scripts/third-party/lang-css.js +0 -2
  86. package/docs/scripts/third-party/prettify.js +0 -28
  87. package/docs/static/favicon.png +0 -0
  88. package/docs/styles/clean-jsdoc-theme-base.css +0 -393
  89. package/docs/styles/clean-jsdoc-theme-dark.css +0 -324
  90. package/docs/styles/clean-jsdoc-theme-light.css +0 -319
  91. package/docs/styles/reset.css +0 -346
  92. package/docs/styles/third-party/ionicons.min.css +0 -11
  93. package/docs/styles/third-party/prettify-jsdoc.css +0 -111
  94. package/docs/styles/third-party/prettify-tomorrow.css +0 -5
package/docs/Debug.html DELETED
@@ -1,2929 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="utf-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
-
8
- <!-- Adding favicon -->
9
-
10
- <link rel="icon" href="./static/favicon.png" />
11
-
12
-
13
- <!-- Adding meta -->
14
-
15
-
16
- <!-- Adding external script-->
17
-
18
-
19
- <!-- Adding external style-->
20
-
21
-
22
- <!-- Adding scripts-->
23
-
24
-
25
- <!-- Adding style-->
26
-
27
-
28
- <!-- Adding overlay script-->
29
-
30
-
31
- <!-- Adding overlay style-->
32
-
33
-
34
-
35
- <title>
36
- Debug
37
- </title>
38
-
39
- <!--[if lt IE 9]>
40
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
41
- <![endif]-->
42
- <link type="text/css" rel="stylesheet" href="styles/third-party/ionicons.min.css">
43
- <link type="text/css" rel="stylesheet" href="styles/third-party/prettify-tomorrow.css">
44
- <link type="text/css" rel="stylesheet" href="styles/reset.css">
45
- <link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-base.css">
46
- <link type="text/css" rel="stylesheet" href="styles/clean-jsdoc-theme-dark.css">
47
-
48
- <svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
49
- style="display:none">
50
- <defs>
51
- <symbol id="copy-icon" viewbox="0 0 488.3 488.3">
52
- <g>
53
- <path
54
- d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z" />
55
- <path
56
- d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z" />
57
- </g>
58
- </symbol>
59
- <symbol id='search-icon' viewBox="0 0 512 512">
60
- <g>
61
- <g>
62
- <path
63
- d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z" />
64
- </g>
65
- </g>
66
- <g>
67
- <g>
68
- <path
69
- d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z" />
70
- </g>
71
- </g>
72
- </symbol>
73
- <symbol id="down-icon" viewBox="0 0 16 16">
74
- <path
75
- fill-rule="evenodd"
76
- clip-rule="evenodd"
77
- d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"
78
- >
79
- </path>
80
- </symbol>
81
- </defs>
82
- </svg>
83
- </head>
84
-
85
- <body>
86
-
87
- <nav class="navbar" id="navbar">
88
- <div class="navbar-heading" id="navbar-heading"><a href="index.html"><h2 class="navbar-heading-text">LittleJS - The Tiny JavaScript Game Engine That Can!</h2></a></div><div class="search-box" id="search-box"><div class="search-box-input-container"><input class="search-box-input" type="text" placeholder="Search..." id="search-box-input" /><svg class="search-icon" alt="search-icon"><use xlink:href="#search-icon"></use></svg></div><div class="search-item-container" id="search-item-container"><ul class="search-item-ul" id="search-item-ul"></ul></div></div><div class="sidebar-main-content" id="sidebar-main-content"><div class="accordion collapsed" id="540523" > <h3 class="accordion-heading">Classes<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion collapsed child" id=8248353><div class="accordion-heading child"><a href="Color.html">Color</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Color.html#add">add</a></li><li data-type='method'><a href="Color.html#clamp">clamp</a></li><li data-type='method'><a href="Color.html#copy">copy</a></li><li data-type='method'><a href="Color.html#divide">divide</a></li><li data-type='method'><a href="Color.html#lerp">lerp</a></li><li data-type='method'><a href="Color.html#multiply">multiply</a></li><li data-type='method'><a href="Color.html#mutate">mutate</a></li><li data-type='method'><a href="Color.html#rgba">rgba</a></li><li data-type='method'><a href="Color.html#rgbaInt">rgbaInt</a></li><li data-type='method'><a href="Color.html#scale">scale</a></li><li data-type='method'><a href="Color.html#setHSLA">setHSLA</a></li><li data-type='method'><a href="Color.html#subtract">subtract</a></li></ul></li><li class="accordion collapsed child" id=7012587><div class="accordion-heading child"><a href="EngineObject.html">EngineObject</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="EngineObject.html#addChild">addChild</a></li><li data-type='method'><a href="EngineObject.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="EngineObject.html#applyForce">applyForce</a></li><li data-type='method'><a href="EngineObject.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="EngineObject.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="EngineObject.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="EngineObject.html#destroy">destroy</a></li><li data-type='method'><a href="EngineObject.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="EngineObject.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="EngineObject.html#removeChild">removeChild</a></li><li data-type='method'><a href="EngineObject.html#render">render</a></li><li data-type='method'><a href="EngineObject.html#setCollision">setCollision</a></li><li data-type='method'><a href="EngineObject.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=1700789><div class="accordion-heading child"><a href="Medal.html">Medal</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Medal.html#render">render</a></li><li data-type='method'><a href="Medal.html#renderIcon">renderIcon</a></li><li data-type='method'><a href="Medal.html#unlock">unlock</a></li></ul></li><li class="accordion collapsed child" id=8089268><div class="accordion-heading child"><a href="Music.html">Music</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Music.html#play">play</a></li></ul></li><li class="accordion collapsed child" id=4766582><div class="accordion-heading child"><a href="Newgrounds.html">Newgrounds</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Newgrounds.html#call">call</a></li><li data-type='method'><a href="Newgrounds.html#getScores">getScores</a></li><li data-type='method'><a href="Newgrounds.html#logView">logView</a></li><li data-type='method'><a href="Newgrounds.html#postScore">postScore</a></li><li data-type='method'><a href="Newgrounds.html#unlockMedal">unlockMedal</a></li></ul></li><li class="accordion collapsed child" id=6250424><div class="accordion-heading child"><a href="Particle.html">Particle</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Particle.html#render">render</a></li></ul></li><li class="accordion collapsed child" id=7561663><div class="accordion-heading child"><a href="ParticleEmitter.html">ParticleEmitter</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="ParticleEmitter.html#emitParticle">emitParticle</a></li><li data-type='method'><a href="ParticleEmitter.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=6303578><div class="accordion-heading child"><a href="Sound.html">Sound</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Sound.html#play">play</a></li><li data-type='method'><a href="Sound.html#playNote">playNote</a></li></ul></li><li class="accordion collapsed child" id=3741597><div class="accordion-heading child"><a href="TileLayer.html">TileLayer</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="TileLayer.html#.getTileCollisionData">getTileCollisionData</a></li><li data-type='method'><a href="TileLayer.html#.initTileCollision">initTileCollision</a></li><li data-type='method'><a href="TileLayer.html#.setTileCollisionData">setTileCollisionData</a></li><li data-type='method'><a href="TileLayer.html#.tileCollisionRaycast">tileCollisionRaycast</a></li><li data-type='method'><a href="TileLayer.html#.tileCollisionTest">tileCollisionTest</a></li><li data-type='method'><a href="TileLayer.html#destroy">destroy</a></li><li data-type='method'><a href="TileLayer.html#drawAllTileData">drawAllTileData</a></li><li data-type='method'><a href="TileLayer.html#drawCanvas2D">drawCanvas2D</a></li><li data-type='method'><a href="TileLayer.html#drawRect">drawRect</a></li><li data-type='method'><a href="TileLayer.html#drawTile">drawTile</a></li><li data-type='method'><a href="TileLayer.html#drawTileData">drawTileData</a></li><li data-type='method'><a href="TileLayer.html#getData">getData</a></li><li data-type='method'><a href="TileLayer.html#redraw">redraw</a></li><li data-type='method'><a href="TileLayer.html#redrawEnd">redrawEnd</a></li><li data-type='method'><a href="TileLayer.html#redrawStart">redrawStart</a></li><li data-type='method'><a href="TileLayer.html#setData">setData</a></li></ul></li><li class="accordion collapsed child" id=3051435><div class="accordion-heading child"><a href="TileLayerData.html">TileLayerData</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="TileLayerData.html#clear">clear</a></li></ul></li><li class="accordion collapsed child" id=2107764><div class="accordion-heading child"><a href="Timer.html">Timer</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Timer.html#active">active</a></li><li data-type='method'><a href="Timer.html#elapsed">elapsed</a></li><li data-type='method'><a href="Timer.html#get">get</a></li><li data-type='method'><a href="Timer.html#getPercent">getPercent</a></li><li data-type='method'><a href="Timer.html#isSet">isSet</a></li><li data-type='method'><a href="Timer.html#set">set</a></li><li data-type='method'><a href="Timer.html#unset">unset</a></li></ul></li><li class="accordion collapsed child" id=576602><div class="accordion-heading child"><a href="Vector2.html">Vector2</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Vector2.html#add">add</a></li><li data-type='method'><a href="Vector2.html#angle">angle</a></li><li data-type='method'><a href="Vector2.html#area">area</a></li><li data-type='method'><a href="Vector2.html#arrayCheck">arrayCheck</a></li><li data-type='method'><a href="Vector2.html#clampLength">clampLength</a></li><li data-type='method'><a href="Vector2.html#copy">copy</a></li><li data-type='method'><a href="Vector2.html#cross">cross</a></li><li data-type='method'><a href="Vector2.html#direction">direction</a></li><li data-type='method'><a href="Vector2.html#distance">distance</a></li><li data-type='method'><a href="Vector2.html#distanceSquared">distanceSquared</a></li><li data-type='method'><a href="Vector2.html#divide">divide</a></li><li data-type='method'><a href="Vector2.html#dot">dot</a></li><li data-type='method'><a href="Vector2.html#flip">flip</a></li><li data-type='method'><a href="Vector2.html#floor">floor</a></li><li data-type='method'><a href="Vector2.html#invert">invert</a></li><li data-type='method'><a href="Vector2.html#length">length</a></li><li data-type='method'><a href="Vector2.html#lengthSquared">lengthSquared</a></li><li data-type='method'><a href="Vector2.html#lerp">lerp</a></li><li data-type='method'><a href="Vector2.html#multiply">multiply</a></li><li data-type='method'><a href="Vector2.html#normalize">normalize</a></li><li data-type='method'><a href="Vector2.html#rotate">rotate</a></li><li data-type='method'><a href="Vector2.html#scale">scale</a></li><li data-type='method'><a href="Vector2.html#setAngle">setAngle</a></li><li data-type='method'><a href="Vector2.html#subtract">subtract</a></li></ul></li></ul> </div><div class="accordion collapsed" id="917139" > <h3 class="accordion-heading">Namespaces<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion collapsed child" id=8875598><div class="accordion-heading child"><a href="Audio.html">Audio</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Audio.html#.getNoteFrequency">getNoteFrequency</a></li><li data-type='method'><a href="Audio.html#.playAudioFile">playAudioFile</a></li><li data-type='method'><a href="Audio.html#.playSamples">playSamples</a></li><li data-type='method'><a href="Audio.html#.speak">speak</a></li><li data-type='method'><a href="Audio.html#.stopSpeech">stopSpeech</a></li><li data-type='method'><a href="Audio.html#.zzfx">zzfx</a></li><li data-type='method'><a href="Audio.html#.zzfxG">zzfxG</a></li><li data-type='method'><a href="Audio.html#.zzfxM">zzfxM</a></li></ul></li><li class="accordion collapsed child" id=822126><div class="accordion-heading child"><a href="Debug.html">Debug</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Debug.html#.debugAABB">debugAABB</a></li><li data-type='method'><a href="Debug.html#.debugCircle">debugCircle</a></li><li data-type='method'><a href="Debug.html#.debugClear">debugClear</a></li><li data-type='method'><a href="Debug.html#.debugLine">debugLine</a></li><li data-type='method'><a href="Debug.html#.debugPoint">debugPoint</a></li><li data-type='method'><a href="Debug.html#.debugRect">debugRect</a></li><li data-type='method'><a href="Debug.html#.debugSaveCanvas">debugSaveCanvas</a></li><li data-type='method'><a href="Debug.html#.debugText">debugText</a></li></ul></li><li class="accordion collapsed child" id=1368174><div class="accordion-heading child"><a href="Draw.html">Draw</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Draw.html#.drawCanvas2D">drawCanvas2D</a></li><li data-type='method'><a href="Draw.html#.drawLine">drawLine</a></li><li data-type='method'><a href="Draw.html#.drawRect">drawRect</a></li><li data-type='method'><a href="Draw.html#.drawRectScreenSpace">drawRectScreenSpace</a></li><li data-type='method'><a href="Draw.html#.drawText">drawText</a></li><li data-type='method'><a href="Draw.html#.drawTile">drawTile</a></li><li data-type='method'><a href="Draw.html#.drawTileScreenSpace">drawTileScreenSpace</a></li><li data-type='method'><a href="Draw.html#.isFullscreen">isFullscreen</a></li><li data-type='method'><a href="Draw.html#.screenToWorld">screenToWorld</a></li><li data-type='method'><a href="Draw.html#.setBlendMode">setBlendMode</a></li><li data-type='method'><a href="Draw.html#.toggleFullscreen">toggleFullscreen</a></li><li data-type='method'><a href="Draw.html#.worldToScreen">worldToScreen</a></li></ul></li><li class="accordion collapsed child" id=3585023><div class="accordion-heading child"><a href="Input.html">Input</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Input.html#.clearInput">clearInput</a></li><li data-type='method'><a href="Input.html#.gamepadIsDown">gamepadIsDown</a></li><li data-type='method'><a href="Input.html#.gamepadStick">gamepadStick</a></li><li data-type='method'><a href="Input.html#.gamepadWasPressed">gamepadWasPressed</a></li><li data-type='method'><a href="Input.html#.gamepadWasReleased">gamepadWasReleased</a></li><li data-type='method'><a href="Input.html#.keyIsDown">keyIsDown</a></li><li data-type='method'><a href="Input.html#.keyWasPressed">keyWasPressed</a></li><li data-type='method'><a href="Input.html#.keyWasReleased">keyWasReleased</a></li></ul></li><li class="accordion collapsed child" id=4831683><div class="accordion-heading child"><a href="Medals.html">Medals</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Medals.html#.medalsInit">medalsInit</a></li></ul></li><li class="accordion collapsed child" id=7850872><div class="accordion-heading child"><a href="Random.html">Random</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Random.html#.rand">rand</a></li><li data-type='method'><a href="Random.html#.randColor">randColor</a></li><li data-type='method'><a href="Random.html#.randInCircle">randInCircle</a></li><li data-type='method'><a href="Random.html#.randInt">randInt</a></li><li data-type='method'><a href="Random.html#.randSeeded">randSeeded</a></li><li data-type='method'><a href="Random.html#.randSign">randSign</a></li><li data-type='method'><a href="Random.html#.randVector">randVector</a></li></ul></li><li class="accordion-list" id=""><a href="Settings.html">Settings</a></li><li class="accordion collapsed child" id=1173220><div class="accordion-heading child"><a href="Utilities.html">Utilities</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="Utilities.html#.abs">abs</a></li><li data-type='method'><a href="Utilities.html#.clamp">clamp</a></li><li data-type='method'><a href="Utilities.html#.formatTime">formatTime</a></li><li data-type='method'><a href="Utilities.html#.isOverlapping">isOverlapping</a></li><li data-type='method'><a href="Utilities.html#.lerp">lerp</a></li><li data-type='method'><a href="Utilities.html#.max">max</a></li><li data-type='method'><a href="Utilities.html#.min">min</a></li><li data-type='method'><a href="Utilities.html#.mod">mod</a></li><li data-type='method'><a href="Utilities.html#.nearestPowerOfTwo">nearestPowerOfTwo</a></li><li data-type='method'><a href="Utilities.html#.percent">percent</a></li><li data-type='method'><a href="Utilities.html#.sign">sign</a></li><li data-type='method'><a href="Utilities.html#.smoothStep">smoothStep</a></li><li data-type='method'><a href="Utilities.html#.vec2">vec2</a></li><li data-type='method'><a href="Utilities.html#.wave">wave</a></li></ul></li><li class="accordion collapsed child" id=6243735><div class="accordion-heading child"><a href="WebGL.html">WebGL</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="WebGL.html#.glCompileShader">glCompileShader</a></li><li data-type='method'><a href="WebGL.html#.glCopyToContext">glCopyToContext</a></li><li data-type='method'><a href="WebGL.html#.glCreateBuffer">glCreateBuffer</a></li><li data-type='method'><a href="WebGL.html#.glCreateProgram">glCreateProgram</a></li><li data-type='method'><a href="WebGL.html#.glCreateTexture">glCreateTexture</a></li><li data-type='method'><a href="WebGL.html#.glFlush">glFlush</a></li><li data-type='method'><a href="WebGL.html#.glSetBlendMode">glSetBlendMode</a></li><li data-type='method'><a href="WebGL.html#.glSetTexture">glSetTexture</a></li></ul></li></ul> </div><div class="accordion collapsed" id="3154152" > <h3 class="accordion-heading">Global<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion-list" id=""><a href="global.html#engineCollideObjects">engineCollideObjects</a></li><li class="accordion-list" id=""><a href="global.html#engineInit">engineInit</a></li><li class="accordion-list" id=""><a href="global.html#engineName">engineName</a></li><li class="accordion-list" id=""><a href="global.html#engineObjects">engineObjects</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsCallback">engineObjectsCallback</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsDestroy">engineObjectsDestroy</a></li><li class="accordion-list" id=""><a href="global.html#engineObjectsUpdate">engineObjectsUpdate</a></li><li class="accordion-list" id=""><a href="global.html#engineVersion">engineVersion</a></li><li class="accordion-list" id=""><a href="global.html#FPS">FPS</a></li><li class="accordion-list" id=""><a href="global.html#frame">frame</a></li><li class="accordion-list" id=""><a href="global.html#paused">paused</a></li><li class="accordion-list" id=""><a href="global.html#time">time</a></li><li class="accordion-list" id=""><a href="global.html#timeDelta">timeDelta</a></li><li class="accordion-list" id=""><a href="global.html#timeReal">timeReal</a></li></ul> </div></div>
89
-
90
-
91
- </nav>
92
- <div class="navbar-ham" id="navbar-ham">
93
- <div>
94
- <div class="first"></div>
95
- <div class="second"></div>
96
- <div class="third"></div>
97
- </div>
98
- </div>
99
-
100
- <div id="main" class="main-content">
101
-
102
- <h1 id='page-title' class="page-title">
103
- Debug
104
- </h1>
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
- <section>
113
-
114
-
115
- <header>
116
-
117
-
118
- <h2>
119
-
120
- Debug
121
-
122
- </h2>
123
-
124
-
125
-
126
- </header>
127
-
128
-
129
- <article>
130
- <div class="container-overview">
131
-
132
-
133
- <div class="description">LittleJS Medal System
134
  <br> - Debug overlay with mouse pick
135
1
  <br> - Debug primitive rendering
136
2
  <br> - Save screenshots to disk</div>
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
- <dl class="details">
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
- <div class="details-item-container">
172
- <dt class="tag-source">Source:</dt>
173
- <dd class="tag-source"><ul class="dummy"><li>
174
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line1">line 1</a>
175
- </li></ul></dd>
176
- </div>
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
- </dl>
185
-
186
-
187
-
188
-
189
-
190
-
191
- </div>
192
-
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
- <h3 class="subsection-title">Members</h3>
205
-
206
-
207
-
208
- <h4 class="name" id=".ASSERT">
209
- <a href="#.ASSERT">#</a>
210
- <span class="type-signature">(static, constant) </span>ASSERT<span class="type-signature"></span>
211
- </h4>
212
-
213
-
214
-
215
-
216
- <div class="description">
217
- Asserts if the experssion is false, does not do anything in release builds
218
- </div>
219
-
220
-
221
-
222
-
223
-
224
-
225
-
226
-
227
-
228
- <dl class="details">
229
-
230
-
231
-
232
-
233
-
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
- <div class="details-item-container">
256
- <dt class="tag-source">Source:</dt>
257
- <dd class="tag-source"><ul class="dummy"><li>
258
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line47">line 47</a>
259
- </li></ul></dd>
260
- </div>
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
- </dl>
269
-
270
-
271
-
272
-
273
-
274
-
275
-
276
-
277
-
278
-
279
- <h4 class="name" id=".debug">
280
- <a href="#.debug">#</a>
281
- <span class="type-signature">(static, constant) </span>debug<span class="type-signature"></span>
282
- </h4>
283
-
284
-
285
-
286
-
287
- <div class="description">
288
- True if debug is enabled
289
- </div>
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
- <dl class="details">
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
- <div class="details-item-container">
325
- <dt class="tag-default">Default Value:</dt>
326
- <dd class="tag-default"><ul class="dummy">
327
- <li >1</li>
328
- </ul></dd>
329
- </div>
330
-
331
-
332
-
333
- <div class="details-item-container">
334
- <dt class="tag-source">Source:</dt>
335
- <dd class="tag-source"><ul class="dummy"><li>
336
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line14">line 14</a>
337
- </li></ul></dd>
338
- </div>
339
-
340
-
341
-
342
-
343
-
344
-
345
-
346
- </dl>
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
- <h4 class="name" id=".debugPointSize">
358
- <a href="#.debugPointSize">#</a>
359
- <span class="type-signature">(static, constant) </span>debugPointSize<span class="type-signature"></span>
360
- </h4>
361
-
362
-
363
-
364
-
365
- <div class="description">
366
- Size to render debug points by default
367
- </div>
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
- <dl class="details">
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
- <div class="details-item-container">
403
- <dt class="tag-default">Default Value:</dt>
404
- <dd class="tag-default"><ul class="dummy">
405
- <li >0.5</li>
406
- </ul></dd>
407
- </div>
408
-
409
-
410
-
411
- <div class="details-item-container">
412
- <dt class="tag-source">Source:</dt>
413
- <dd class="tag-source"><ul class="dummy"><li>
414
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line24">line 24</a>
415
- </li></ul></dd>
416
- </div>
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
- </dl>
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
-
435
- <h4 class="name" id=".enableAsserts">
436
- <a href="#.enableAsserts">#</a>
437
- <span class="type-signature">(static, constant) </span>enableAsserts<span class="type-signature"></span>
438
- </h4>
439
-
440
-
441
-
442
-
443
- <div class="description">
444
- True if asserts are enaled
445
- </div>
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
-
454
-
455
- <dl class="details">
456
-
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479
-
480
- <div class="details-item-container">
481
- <dt class="tag-default">Default Value:</dt>
482
- <dd class="tag-default"><ul class="dummy">
483
- <li >1</li>
484
- </ul></dd>
485
- </div>
486
-
487
-
488
-
489
- <div class="details-item-container">
490
- <dt class="tag-source">Source:</dt>
491
- <dd class="tag-source"><ul class="dummy"><li>
492
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line19">line 19</a>
493
- </li></ul></dd>
494
- </div>
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
- </dl>
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
- <h4 class="name" id=".godMode">
514
- <a href="#.godMode">#</a>
515
- <span class="type-signature">(static) </span>godMode<span class="type-signature"></span>
516
- </h4>
517
-
518
-
519
-
520
-
521
- <div class="description">
522
- True if god mode is enabled, handle this however you want
523
- </div>
524
-
525
-
526
-
527
-
528
-
529
-
530
-
531
-
532
-
533
- <dl class="details">
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
- <div class="details-item-container">
561
- <dt class="tag-source">Source:</dt>
562
- <dd class="tag-source"><ul class="dummy"><li>
563
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line34">line 34</a>
564
- </li></ul></dd>
565
- </div>
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
- </dl>
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
- <h4 class="name" id=".showWatermark">
585
- <a href="#.showWatermark">#</a>
586
- <span class="type-signature">(static) </span>showWatermark<span class="type-signature"></span>
587
- </h4>
588
-
589
-
590
-
591
-
592
- <div class="description">
593
- True if watermark with FPS should be down
594
- </div>
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
- <dl class="details">
605
-
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
-
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
- <div class="details-item-container">
630
- <dt class="tag-default">Default Value:</dt>
631
- <dd class="tag-default"><ul class="dummy">
632
- <li >1</li>
633
- </ul></dd>
634
- </div>
635
-
636
-
637
-
638
- <div class="details-item-container">
639
- <dt class="tag-source">Source:</dt>
640
- <dd class="tag-source"><ul class="dummy"><li>
641
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line29">line 29</a>
642
- </li></ul></dd>
643
- </div>
644
-
645
-
646
-
647
-
648
-
649
-
650
-
651
- </dl>
652
-
653
-
654
-
655
-
656
-
657
-
658
-
659
-
660
-
661
-
662
-
663
-
664
- <h3 class="subsection-title">Methods</h3>
665
-
666
-
667
-
668
-
669
-
670
-
671
- <h4 class="name" id=".debugAABB">
672
- <a href="#.debugAABB">#</a>
673
- <span class="type-signature">(static) </span>debugAABB<span class="signature">(posA, sizeA, posB, sizeB, color<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
674
- </h4>
675
-
676
-
677
-
678
-
679
-
680
- <div class="description">
681
- Draw a debug axis aligned bounding box in world space
682
- </div>
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
693
- <strong>Parameters:</strong>
694
-
695
-
696
- <table class="params">
697
- <thead>
698
- <tr>
699
-
700
- <th>Name</th>
701
-
702
-
703
- <th>Type</th>
704
-
705
-
706
- <th>Attributes</th>
707
-
708
-
709
-
710
- <th>Default</th>
711
-
712
-
713
- <th class="last">Description</th>
714
- </tr>
715
- </thead>
716
-
717
- <tbody>
718
-
719
-
720
- <tr>
721
-
722
- <td class="name"><code>posA</code></td>
723
-
724
-
725
- <td class="type">
726
-
727
-
728
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
729
-
730
-
731
-
732
- </td>
733
-
734
-
735
- <td class="attributes">
736
-
737
-
738
-
739
-
740
-
741
- </td>
742
-
743
-
744
-
745
- <td class="default">
746
-
747
- </td>
748
-
749
-
750
- <td class="description last"></td>
751
- </tr>
752
-
753
-
754
-
755
- <tr>
756
-
757
- <td class="name"><code>sizeA</code></td>
758
-
759
-
760
- <td class="type">
761
-
762
-
763
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
764
-
765
-
766
-
767
- </td>
768
-
769
-
770
- <td class="attributes">
771
-
772
-
773
-
774
-
775
-
776
- </td>
777
-
778
-
779
-
780
- <td class="default">
781
-
782
- </td>
783
-
784
-
785
- <td class="description last"></td>
786
- </tr>
787
-
788
-
789
-
790
- <tr>
791
-
792
- <td class="name"><code>posB</code></td>
793
-
794
-
795
- <td class="type">
796
-
797
-
798
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
799
-
800
-
801
-
802
- </td>
803
-
804
-
805
- <td class="attributes">
806
-
807
-
808
-
809
-
810
-
811
- </td>
812
-
813
-
814
-
815
- <td class="default">
816
-
817
- </td>
818
-
819
-
820
- <td class="description last"></td>
821
- </tr>
822
-
823
-
824
-
825
- <tr>
826
-
827
- <td class="name"><code>sizeB</code></td>
828
-
829
-
830
- <td class="type">
831
-
832
-
833
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
834
-
835
-
836
-
837
- </td>
838
-
839
-
840
- <td class="attributes">
841
-
842
-
843
-
844
-
845
-
846
- </td>
847
-
848
-
849
-
850
- <td class="default">
851
-
852
- </td>
853
-
854
-
855
- <td class="description last"></td>
856
- </tr>
857
-
858
-
859
-
860
- <tr>
861
-
862
- <td class="name"><code>color</code></td>
863
-
864
-
865
- <td class="type">
866
-
867
-
868
- <span class="param-type">String</span>
869
-
870
-
871
-
872
- </td>
873
-
874
-
875
- <td class="attributes">
876
-
877
- &lt;optional><br>
878
-
879
-
880
-
881
-
882
-
883
- </td>
884
-
885
-
886
-
887
- <td class="default">
888
-
889
- '#fff'
890
-
891
- </td>
892
-
893
-
894
- <td class="description last"></td>
895
- </tr>
896
-
897
-
898
- </tbody>
899
- </table>
900
-
901
- </div>
902
-
903
-
904
-
905
-
906
-
907
-
908
-
909
- <dl class="details">
910
-
911
-
912
-
913
-
914
-
915
-
916
-
917
-
918
-
919
-
920
-
921
-
922
-
923
-
924
-
925
-
926
-
927
-
928
-
929
-
930
-
931
-
932
-
933
-
934
-
935
-
936
- <div class="details-item-container">
937
- <dt class="tag-source">Source:</dt>
938
- <dd class="tag-source"><ul class="dummy"><li>
939
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line105">line 105</a>
940
- </li></ul></dd>
941
- </div>
942
-
943
-
944
-
945
-
946
-
947
-
948
-
949
- </dl>
950
-
951
-
952
-
953
-
954
-
955
-
956
-
957
-
958
-
959
-
960
-
961
-
962
-
963
-
964
-
965
-
966
-
967
-
968
-
969
-
970
-
971
-
972
-
973
- <h4 class="name" id=".debugCircle">
974
- <a href="#.debugCircle">#</a>
975
- <span class="type-signature">(static) </span>debugCircle<span class="signature">(pos, radius<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, time<span class="signature-attributes">opt</span>, fill<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
976
- </h4>
977
-
978
-
979
-
980
-
981
-
982
- <div class="description">
983
- Draw a debug circle in world space
984
- </div>
985
-
986
-
987
-
988
-
989
-
990
-
991
-
992
-
993
-
994
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
995
- <strong>Parameters:</strong>
996
-
997
-
998
- <table class="params">
999
- <thead>
1000
- <tr>
1001
-
1002
- <th>Name</th>
1003
-
1004
-
1005
- <th>Type</th>
1006
-
1007
-
1008
- <th>Attributes</th>
1009
-
1010
-
1011
-
1012
- <th>Default</th>
1013
-
1014
-
1015
- <th class="last">Description</th>
1016
- </tr>
1017
- </thead>
1018
-
1019
- <tbody>
1020
-
1021
-
1022
- <tr>
1023
-
1024
- <td class="name"><code>pos</code></td>
1025
-
1026
-
1027
- <td class="type">
1028
-
1029
-
1030
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1031
-
1032
-
1033
-
1034
- </td>
1035
-
1036
-
1037
- <td class="attributes">
1038
-
1039
-
1040
-
1041
-
1042
-
1043
- </td>
1044
-
1045
-
1046
-
1047
- <td class="default">
1048
-
1049
- </td>
1050
-
1051
-
1052
- <td class="description last"></td>
1053
- </tr>
1054
-
1055
-
1056
-
1057
- <tr>
1058
-
1059
- <td class="name"><code>radius</code></td>
1060
-
1061
-
1062
- <td class="type">
1063
-
1064
-
1065
- <span class="param-type">Number</span>
1066
-
1067
-
1068
-
1069
- </td>
1070
-
1071
-
1072
- <td class="attributes">
1073
-
1074
- &lt;optional><br>
1075
-
1076
-
1077
-
1078
-
1079
-
1080
- </td>
1081
-
1082
-
1083
-
1084
- <td class="default">
1085
-
1086
- 0
1087
-
1088
- </td>
1089
-
1090
-
1091
- <td class="description last"></td>
1092
- </tr>
1093
-
1094
-
1095
-
1096
- <tr>
1097
-
1098
- <td class="name"><code>color</code></td>
1099
-
1100
-
1101
- <td class="type">
1102
-
1103
-
1104
- <span class="param-type">String</span>
1105
-
1106
-
1107
-
1108
- </td>
1109
-
1110
-
1111
- <td class="attributes">
1112
-
1113
- &lt;optional><br>
1114
-
1115
-
1116
-
1117
-
1118
-
1119
- </td>
1120
-
1121
-
1122
-
1123
- <td class="default">
1124
-
1125
- '#fff'
1126
-
1127
- </td>
1128
-
1129
-
1130
- <td class="description last"></td>
1131
- </tr>
1132
-
1133
-
1134
-
1135
- <tr>
1136
-
1137
- <td class="name"><code>time</code></td>
1138
-
1139
-
1140
- <td class="type">
1141
-
1142
-
1143
- <span class="param-type">Number</span>
1144
-
1145
-
1146
-
1147
- </td>
1148
-
1149
-
1150
- <td class="attributes">
1151
-
1152
- &lt;optional><br>
1153
-
1154
-
1155
-
1156
-
1157
-
1158
- </td>
1159
-
1160
-
1161
-
1162
- <td class="default">
1163
-
1164
- 0
1165
-
1166
- </td>
1167
-
1168
-
1169
- <td class="description last"></td>
1170
- </tr>
1171
-
1172
-
1173
-
1174
- <tr>
1175
-
1176
- <td class="name"><code>fill</code></td>
1177
-
1178
-
1179
- <td class="type">
1180
-
1181
-
1182
- <span class="param-type">Boolean</span>
1183
-
1184
-
1185
-
1186
- </td>
1187
-
1188
-
1189
- <td class="attributes">
1190
-
1191
- &lt;optional><br>
1192
-
1193
-
1194
-
1195
-
1196
-
1197
- </td>
1198
-
1199
-
1200
-
1201
- <td class="default">
1202
-
1203
- 0
1204
-
1205
- </td>
1206
-
1207
-
1208
- <td class="description last"></td>
1209
- </tr>
1210
-
1211
-
1212
- </tbody>
1213
- </table>
1214
-
1215
- </div>
1216
-
1217
-
1218
-
1219
-
1220
-
1221
-
1222
-
1223
- <dl class="details">
1224
-
1225
-
1226
-
1227
-
1228
-
1229
-
1230
-
1231
-
1232
-
1233
-
1234
-
1235
-
1236
-
1237
-
1238
-
1239
-
1240
-
1241
-
1242
-
1243
-
1244
-
1245
-
1246
-
1247
-
1248
-
1249
-
1250
- <div class="details-item-container">
1251
- <dt class="tag-source">Source:</dt>
1252
- <dd class="tag-source"><ul class="dummy"><li>
1253
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line70">line 70</a>
1254
- </li></ul></dd>
1255
- </div>
1256
-
1257
-
1258
-
1259
-
1260
-
1261
-
1262
-
1263
- </dl>
1264
-
1265
-
1266
-
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
-
1274
-
1275
-
1276
-
1277
-
1278
-
1279
-
1280
-
1281
-
1282
-
1283
-
1284
-
1285
-
1286
-
1287
- <h4 class="name" id=".debugClear">
1288
- <a href="#.debugClear">#</a>
1289
- <span class="type-signature">(static) </span>debugClear<span class="signature">()</span><span class="type-signature"></span>
1290
- </h4>
1291
-
1292
-
1293
-
1294
-
1295
-
1296
- <div class="description">
1297
- Clear all debug primitives in the list
1298
- </div>
1299
-
1300
-
1301
-
1302
-
1303
-
1304
-
1305
-
1306
-
1307
-
1308
-
1309
-
1310
-
1311
-
1312
-
1313
-
1314
- <dl class="details">
1315
-
1316
-
1317
-
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
-
1325
-
1326
-
1327
-
1328
-
1329
-
1330
-
1331
-
1332
-
1333
-
1334
-
1335
-
1336
-
1337
-
1338
-
1339
-
1340
-
1341
- <div class="details-item-container">
1342
- <dt class="tag-source">Source:</dt>
1343
- <dd class="tag-source"><ul class="dummy"><li>
1344
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line129">line 129</a>
1345
- </li></ul></dd>
1346
- </div>
1347
-
1348
-
1349
-
1350
-
1351
-
1352
-
1353
-
1354
- </dl>
1355
-
1356
-
1357
-
1358
-
1359
-
1360
-
1361
-
1362
-
1363
-
1364
-
1365
-
1366
-
1367
-
1368
-
1369
-
1370
-
1371
-
1372
-
1373
-
1374
-
1375
-
1376
-
1377
-
1378
- <h4 class="name" id=".debugLine">
1379
- <a href="#.debugLine">#</a>
1380
- <span class="type-signature">(static) </span>debugLine<span class="signature">(posA, posB, color<span class="signature-attributes">opt</span>, thickness<span class="signature-attributes">opt</span>, time<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1381
- </h4>
1382
-
1383
-
1384
-
1385
-
1386
-
1387
- <div class="description">
1388
- Draw a debug line in world space
1389
- </div>
1390
-
1391
-
1392
-
1393
-
1394
-
1395
-
1396
-
1397
-
1398
-
1399
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1400
- <strong>Parameters:</strong>
1401
-
1402
-
1403
- <table class="params">
1404
- <thead>
1405
- <tr>
1406
-
1407
- <th>Name</th>
1408
-
1409
-
1410
- <th>Type</th>
1411
-
1412
-
1413
- <th>Attributes</th>
1414
-
1415
-
1416
-
1417
- <th>Default</th>
1418
-
1419
-
1420
- <th class="last">Description</th>
1421
- </tr>
1422
- </thead>
1423
-
1424
- <tbody>
1425
-
1426
-
1427
- <tr>
1428
-
1429
- <td class="name"><code>posA</code></td>
1430
-
1431
-
1432
- <td class="type">
1433
-
1434
-
1435
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1436
-
1437
-
1438
-
1439
- </td>
1440
-
1441
-
1442
- <td class="attributes">
1443
-
1444
-
1445
-
1446
-
1447
-
1448
- </td>
1449
-
1450
-
1451
-
1452
- <td class="default">
1453
-
1454
- </td>
1455
-
1456
-
1457
- <td class="description last"></td>
1458
- </tr>
1459
-
1460
-
1461
-
1462
- <tr>
1463
-
1464
- <td class="name"><code>posB</code></td>
1465
-
1466
-
1467
- <td class="type">
1468
-
1469
-
1470
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1471
-
1472
-
1473
-
1474
- </td>
1475
-
1476
-
1477
- <td class="attributes">
1478
-
1479
-
1480
-
1481
-
1482
-
1483
- </td>
1484
-
1485
-
1486
-
1487
- <td class="default">
1488
-
1489
- </td>
1490
-
1491
-
1492
- <td class="description last"></td>
1493
- </tr>
1494
-
1495
-
1496
-
1497
- <tr>
1498
-
1499
- <td class="name"><code>color</code></td>
1500
-
1501
-
1502
- <td class="type">
1503
-
1504
-
1505
- <span class="param-type">String</span>
1506
-
1507
-
1508
-
1509
- </td>
1510
-
1511
-
1512
- <td class="attributes">
1513
-
1514
- &lt;optional><br>
1515
-
1516
-
1517
-
1518
-
1519
-
1520
- </td>
1521
-
1522
-
1523
-
1524
- <td class="default">
1525
-
1526
- '#fff'
1527
-
1528
- </td>
1529
-
1530
-
1531
- <td class="description last"></td>
1532
- </tr>
1533
-
1534
-
1535
-
1536
- <tr>
1537
-
1538
- <td class="name"><code>thickness</code></td>
1539
-
1540
-
1541
- <td class="type">
1542
-
1543
-
1544
- <span class="param-type">Number</span>
1545
-
1546
-
1547
-
1548
- </td>
1549
-
1550
-
1551
- <td class="attributes">
1552
-
1553
- &lt;optional><br>
1554
-
1555
-
1556
-
1557
-
1558
-
1559
- </td>
1560
-
1561
-
1562
-
1563
- <td class="default">
1564
-
1565
- .1
1566
-
1567
- </td>
1568
-
1569
-
1570
- <td class="description last"></td>
1571
- </tr>
1572
-
1573
-
1574
-
1575
- <tr>
1576
-
1577
- <td class="name"><code>time</code></td>
1578
-
1579
-
1580
- <td class="type">
1581
-
1582
-
1583
- <span class="param-type">Number</span>
1584
-
1585
-
1586
-
1587
- </td>
1588
-
1589
-
1590
- <td class="attributes">
1591
-
1592
- &lt;optional><br>
1593
-
1594
-
1595
-
1596
-
1597
-
1598
- </td>
1599
-
1600
-
1601
-
1602
- <td class="default">
1603
-
1604
- 0
1605
-
1606
- </td>
1607
-
1608
-
1609
- <td class="description last"></td>
1610
- </tr>
1611
-
1612
-
1613
- </tbody>
1614
- </table>
1615
-
1616
- </div>
1617
-
1618
-
1619
-
1620
-
1621
-
1622
-
1623
-
1624
- <dl class="details">
1625
-
1626
-
1627
-
1628
-
1629
-
1630
-
1631
-
1632
-
1633
-
1634
-
1635
-
1636
-
1637
-
1638
-
1639
-
1640
-
1641
-
1642
-
1643
-
1644
-
1645
-
1646
-
1647
-
1648
-
1649
-
1650
-
1651
- <div class="details-item-container">
1652
- <dt class="tag-source">Source:</dt>
1653
- <dd class="tag-source"><ul class="dummy"><li>
1654
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line91">line 91</a>
1655
- </li></ul></dd>
1656
- </div>
1657
-
1658
-
1659
-
1660
-
1661
-
1662
-
1663
-
1664
- </dl>
1665
-
1666
-
1667
-
1668
-
1669
-
1670
-
1671
-
1672
-
1673
-
1674
-
1675
-
1676
-
1677
-
1678
-
1679
-
1680
-
1681
-
1682
-
1683
-
1684
-
1685
-
1686
-
1687
-
1688
- <h4 class="name" id=".debugPoint">
1689
- <a href="#.debugPoint">#</a>
1690
- <span class="type-signature">(static) </span>debugPoint<span class="signature">(pos, color<span class="signature-attributes">opt</span>, time<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1691
- </h4>
1692
-
1693
-
1694
-
1695
-
1696
-
1697
- <div class="description">
1698
- Draw a debug point in world space
1699
- </div>
1700
-
1701
-
1702
-
1703
-
1704
-
1705
-
1706
-
1707
-
1708
-
1709
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1710
- <strong>Parameters:</strong>
1711
-
1712
-
1713
- <table class="params">
1714
- <thead>
1715
- <tr>
1716
-
1717
- <th>Name</th>
1718
-
1719
-
1720
- <th>Type</th>
1721
-
1722
-
1723
- <th>Attributes</th>
1724
-
1725
-
1726
-
1727
- <th>Default</th>
1728
-
1729
-
1730
- <th class="last">Description</th>
1731
- </tr>
1732
- </thead>
1733
-
1734
- <tbody>
1735
-
1736
-
1737
- <tr>
1738
-
1739
- <td class="name"><code>pos</code></td>
1740
-
1741
-
1742
- <td class="type">
1743
-
1744
-
1745
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1746
-
1747
-
1748
-
1749
- </td>
1750
-
1751
-
1752
- <td class="attributes">
1753
-
1754
-
1755
-
1756
-
1757
-
1758
- </td>
1759
-
1760
-
1761
-
1762
- <td class="default">
1763
-
1764
- </td>
1765
-
1766
-
1767
- <td class="description last"></td>
1768
- </tr>
1769
-
1770
-
1771
-
1772
- <tr>
1773
-
1774
- <td class="name"><code>color</code></td>
1775
-
1776
-
1777
- <td class="type">
1778
-
1779
-
1780
- <span class="param-type">String</span>
1781
-
1782
-
1783
-
1784
- </td>
1785
-
1786
-
1787
- <td class="attributes">
1788
-
1789
- &lt;optional><br>
1790
-
1791
-
1792
-
1793
-
1794
-
1795
- </td>
1796
-
1797
-
1798
-
1799
- <td class="default">
1800
-
1801
- '#fff'
1802
-
1803
- </td>
1804
-
1805
-
1806
- <td class="description last"></td>
1807
- </tr>
1808
-
1809
-
1810
-
1811
- <tr>
1812
-
1813
- <td class="name"><code>time</code></td>
1814
-
1815
-
1816
- <td class="type">
1817
-
1818
-
1819
- <span class="param-type">Number</span>
1820
-
1821
-
1822
-
1823
- </td>
1824
-
1825
-
1826
- <td class="attributes">
1827
-
1828
- &lt;optional><br>
1829
-
1830
-
1831
-
1832
-
1833
-
1834
- </td>
1835
-
1836
-
1837
-
1838
- <td class="default">
1839
-
1840
- 0
1841
-
1842
- </td>
1843
-
1844
-
1845
- <td class="description last"></td>
1846
- </tr>
1847
-
1848
-
1849
-
1850
- <tr>
1851
-
1852
- <td class="name"><code>angle</code></td>
1853
-
1854
-
1855
- <td class="type">
1856
-
1857
-
1858
- <span class="param-type">Number</span>
1859
-
1860
-
1861
-
1862
- </td>
1863
-
1864
-
1865
- <td class="attributes">
1866
-
1867
- &lt;optional><br>
1868
-
1869
-
1870
-
1871
-
1872
-
1873
- </td>
1874
-
1875
-
1876
-
1877
- <td class="default">
1878
-
1879
- 0
1880
-
1881
- </td>
1882
-
1883
-
1884
- <td class="description last"></td>
1885
- </tr>
1886
-
1887
-
1888
- </tbody>
1889
- </table>
1890
-
1891
- </div>
1892
-
1893
-
1894
-
1895
-
1896
-
1897
-
1898
-
1899
- <dl class="details">
1900
-
1901
-
1902
-
1903
-
1904
-
1905
-
1906
-
1907
-
1908
-
1909
-
1910
-
1911
-
1912
-
1913
-
1914
-
1915
-
1916
-
1917
-
1918
-
1919
-
1920
-
1921
-
1922
-
1923
-
1924
-
1925
-
1926
- <div class="details-item-container">
1927
- <dt class="tag-source">Source:</dt>
1928
- <dd class="tag-source"><ul class="dummy"><li>
1929
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line82">line 82</a>
1930
- </li></ul></dd>
1931
- </div>
1932
-
1933
-
1934
-
1935
-
1936
-
1937
-
1938
-
1939
- </dl>
1940
-
1941
-
1942
-
1943
-
1944
-
1945
-
1946
-
1947
-
1948
-
1949
-
1950
-
1951
-
1952
-
1953
-
1954
-
1955
-
1956
-
1957
-
1958
-
1959
-
1960
-
1961
-
1962
-
1963
- <h4 class="name" id=".debugRect">
1964
- <a href="#.debugRect">#</a>
1965
- <span class="type-signature">(static) </span>debugRect<span class="signature">(pos, size<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, time<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>, fill<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1966
- </h4>
1967
-
1968
-
1969
-
1970
-
1971
-
1972
- <div class="description">
1973
- Draw a debug rectangle in world space
1974
- </div>
1975
-
1976
-
1977
-
1978
-
1979
-
1980
-
1981
-
1982
-
1983
-
1984
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1985
- <strong>Parameters:</strong>
1986
-
1987
-
1988
- <table class="params">
1989
- <thead>
1990
- <tr>
1991
-
1992
- <th>Name</th>
1993
-
1994
-
1995
- <th>Type</th>
1996
-
1997
-
1998
- <th>Attributes</th>
1999
-
2000
-
2001
-
2002
- <th>Default</th>
2003
-
2004
-
2005
- <th class="last">Description</th>
2006
- </tr>
2007
- </thead>
2008
-
2009
- <tbody>
2010
-
2011
-
2012
- <tr>
2013
-
2014
- <td class="name"><code>pos</code></td>
2015
-
2016
-
2017
- <td class="type">
2018
-
2019
-
2020
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2021
-
2022
-
2023
-
2024
- </td>
2025
-
2026
-
2027
- <td class="attributes">
2028
-
2029
-
2030
-
2031
-
2032
-
2033
- </td>
2034
-
2035
-
2036
-
2037
- <td class="default">
2038
-
2039
- </td>
2040
-
2041
-
2042
- <td class="description last"></td>
2043
- </tr>
2044
-
2045
-
2046
-
2047
- <tr>
2048
-
2049
- <td class="name"><code>size</code></td>
2050
-
2051
-
2052
- <td class="type">
2053
-
2054
-
2055
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2056
-
2057
-
2058
-
2059
- </td>
2060
-
2061
-
2062
- <td class="attributes">
2063
-
2064
- &lt;optional><br>
2065
-
2066
-
2067
-
2068
-
2069
-
2070
- </td>
2071
-
2072
-
2073
-
2074
- <td class="default">
2075
-
2076
- new Vector2()
2077
-
2078
- </td>
2079
-
2080
-
2081
- <td class="description last"></td>
2082
- </tr>
2083
-
2084
-
2085
-
2086
- <tr>
2087
-
2088
- <td class="name"><code>color</code></td>
2089
-
2090
-
2091
- <td class="type">
2092
-
2093
-
2094
- <span class="param-type">String</span>
2095
-
2096
-
2097
-
2098
- </td>
2099
-
2100
-
2101
- <td class="attributes">
2102
-
2103
- &lt;optional><br>
2104
-
2105
-
2106
-
2107
-
2108
-
2109
- </td>
2110
-
2111
-
2112
-
2113
- <td class="default">
2114
-
2115
- '#fff'
2116
-
2117
- </td>
2118
-
2119
-
2120
- <td class="description last"></td>
2121
- </tr>
2122
-
2123
-
2124
-
2125
- <tr>
2126
-
2127
- <td class="name"><code>time</code></td>
2128
-
2129
-
2130
- <td class="type">
2131
-
2132
-
2133
- <span class="param-type">Number</span>
2134
-
2135
-
2136
-
2137
- </td>
2138
-
2139
-
2140
- <td class="attributes">
2141
-
2142
- &lt;optional><br>
2143
-
2144
-
2145
-
2146
-
2147
-
2148
- </td>
2149
-
2150
-
2151
-
2152
- <td class="default">
2153
-
2154
- 0
2155
-
2156
- </td>
2157
-
2158
-
2159
- <td class="description last"></td>
2160
- </tr>
2161
-
2162
-
2163
-
2164
- <tr>
2165
-
2166
- <td class="name"><code>angle</code></td>
2167
-
2168
-
2169
- <td class="type">
2170
-
2171
-
2172
- <span class="param-type">Number</span>
2173
-
2174
-
2175
-
2176
- </td>
2177
-
2178
-
2179
- <td class="attributes">
2180
-
2181
- &lt;optional><br>
2182
-
2183
-
2184
-
2185
-
2186
-
2187
- </td>
2188
-
2189
-
2190
-
2191
- <td class="default">
2192
-
2193
- 0
2194
-
2195
- </td>
2196
-
2197
-
2198
- <td class="description last"></td>
2199
- </tr>
2200
-
2201
-
2202
-
2203
- <tr>
2204
-
2205
- <td class="name"><code>fill</code></td>
2206
-
2207
-
2208
- <td class="type">
2209
-
2210
-
2211
- <span class="param-type">Boolean</span>
2212
-
2213
-
2214
-
2215
- </td>
2216
-
2217
-
2218
- <td class="attributes">
2219
-
2220
- &lt;optional><br>
2221
-
2222
-
2223
-
2224
-
2225
-
2226
- </td>
2227
-
2228
-
2229
-
2230
- <td class="default">
2231
-
2232
- 0
2233
-
2234
- </td>
2235
-
2236
-
2237
- <td class="description last"></td>
2238
- </tr>
2239
-
2240
-
2241
- </tbody>
2242
- </table>
2243
-
2244
- </div>
2245
-
2246
-
2247
-
2248
-
2249
-
2250
-
2251
-
2252
- <dl class="details">
2253
-
2254
-
2255
-
2256
-
2257
-
2258
-
2259
-
2260
-
2261
-
2262
-
2263
-
2264
-
2265
-
2266
-
2267
-
2268
-
2269
-
2270
-
2271
-
2272
-
2273
-
2274
-
2275
-
2276
-
2277
-
2278
-
2279
- <div class="details-item-container">
2280
- <dt class="tag-source">Source:</dt>
2281
- <dd class="tag-source"><ul class="dummy"><li>
2282
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line57">line 57</a>
2283
- </li></ul></dd>
2284
- </div>
2285
-
2286
-
2287
-
2288
-
2289
-
2290
-
2291
-
2292
- </dl>
2293
-
2294
-
2295
-
2296
-
2297
-
2298
-
2299
-
2300
-
2301
-
2302
-
2303
-
2304
-
2305
-
2306
-
2307
-
2308
-
2309
-
2310
-
2311
-
2312
-
2313
-
2314
-
2315
-
2316
- <h4 class="name" id=".debugSaveCanvas">
2317
- <a href="#.debugSaveCanvas">#</a>
2318
- <span class="type-signature">(static) </span>debugSaveCanvas<span class="signature">(canvas, filename<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
2319
- </h4>
2320
-
2321
-
2322
-
2323
-
2324
-
2325
- <div class="description">
2326
- Save a canvas to disk
2327
- </div>
2328
-
2329
-
2330
-
2331
-
2332
-
2333
-
2334
-
2335
-
2336
-
2337
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2338
- <strong>Parameters:</strong>
2339
-
2340
-
2341
- <table class="params">
2342
- <thead>
2343
- <tr>
2344
-
2345
- <th>Name</th>
2346
-
2347
-
2348
- <th>Type</th>
2349
-
2350
-
2351
- <th>Attributes</th>
2352
-
2353
-
2354
-
2355
-
2356
- <th class="last">Description</th>
2357
- </tr>
2358
- </thead>
2359
-
2360
- <tbody>
2361
-
2362
-
2363
- <tr>
2364
-
2365
- <td class="name"><code>canvas</code></td>
2366
-
2367
-
2368
- <td class="type">
2369
-
2370
-
2371
- <span class="param-type">HTMLCanvasElement</span>
2372
-
2373
-
2374
-
2375
- </td>
2376
-
2377
-
2378
- <td class="attributes">
2379
-
2380
-
2381
-
2382
-
2383
-
2384
- </td>
2385
-
2386
-
2387
-
2388
-
2389
- <td class="description last"></td>
2390
- </tr>
2391
-
2392
-
2393
-
2394
- <tr>
2395
-
2396
- <td class="name"><code>filename</code></td>
2397
-
2398
-
2399
- <td class="type">
2400
-
2401
-
2402
- <span class="param-type">String</span>
2403
-
2404
-
2405
-
2406
- </td>
2407
-
2408
-
2409
- <td class="attributes">
2410
-
2411
- &lt;optional><br>
2412
-
2413
-
2414
-
2415
-
2416
-
2417
- </td>
2418
-
2419
-
2420
-
2421
-
2422
- <td class="description last"></td>
2423
- </tr>
2424
-
2425
-
2426
- </tbody>
2427
- </table>
2428
-
2429
- </div>
2430
-
2431
-
2432
-
2433
-
2434
-
2435
-
2436
-
2437
- <dl class="details">
2438
-
2439
-
2440
-
2441
-
2442
-
2443
-
2444
-
2445
-
2446
-
2447
-
2448
-
2449
-
2450
-
2451
-
2452
-
2453
-
2454
-
2455
-
2456
-
2457
-
2458
-
2459
-
2460
-
2461
-
2462
-
2463
-
2464
- <div class="details-item-container">
2465
- <dt class="tag-source">Source:</dt>
2466
- <dd class="tag-source"><ul class="dummy"><li>
2467
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line135">line 135</a>
2468
- </li></ul></dd>
2469
- </div>
2470
-
2471
-
2472
-
2473
-
2474
-
2475
-
2476
-
2477
- </dl>
2478
-
2479
-
2480
-
2481
-
2482
-
2483
-
2484
-
2485
-
2486
-
2487
-
2488
-
2489
-
2490
-
2491
-
2492
-
2493
-
2494
-
2495
-
2496
-
2497
-
2498
-
2499
-
2500
-
2501
- <h4 class="name" id=".debugText">
2502
- <a href="#.debugText">#</a>
2503
- <span class="type-signature">(static) </span>debugText<span class="signature">(text, pos, size<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, time<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>, font<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
2504
- </h4>
2505
-
2506
-
2507
-
2508
-
2509
-
2510
- <div class="description">
2511
- Draw a debug axis aligned bounding box in world space
2512
- </div>
2513
-
2514
-
2515
-
2516
-
2517
-
2518
-
2519
-
2520
-
2521
-
2522
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2523
- <strong>Parameters:</strong>
2524
-
2525
-
2526
- <table class="params">
2527
- <thead>
2528
- <tr>
2529
-
2530
- <th>Name</th>
2531
-
2532
-
2533
- <th>Type</th>
2534
-
2535
-
2536
- <th>Attributes</th>
2537
-
2538
-
2539
-
2540
- <th>Default</th>
2541
-
2542
-
2543
- <th class="last">Description</th>
2544
- </tr>
2545
- </thead>
2546
-
2547
- <tbody>
2548
-
2549
-
2550
- <tr>
2551
-
2552
- <td class="name"><code>text</code></td>
2553
-
2554
-
2555
- <td class="type">
2556
-
2557
-
2558
- <span class="param-type">String</span>
2559
-
2560
-
2561
-
2562
- </td>
2563
-
2564
-
2565
- <td class="attributes">
2566
-
2567
-
2568
-
2569
-
2570
-
2571
- </td>
2572
-
2573
-
2574
-
2575
- <td class="default">
2576
-
2577
- </td>
2578
-
2579
-
2580
- <td class="description last"></td>
2581
- </tr>
2582
-
2583
-
2584
-
2585
- <tr>
2586
-
2587
- <td class="name"><code>pos</code></td>
2588
-
2589
-
2590
- <td class="type">
2591
-
2592
-
2593
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2594
-
2595
-
2596
-
2597
- </td>
2598
-
2599
-
2600
- <td class="attributes">
2601
-
2602
-
2603
-
2604
-
2605
-
2606
- </td>
2607
-
2608
-
2609
-
2610
- <td class="default">
2611
-
2612
- </td>
2613
-
2614
-
2615
- <td class="description last"></td>
2616
- </tr>
2617
-
2618
-
2619
-
2620
- <tr>
2621
-
2622
- <td class="name"><code>size</code></td>
2623
-
2624
-
2625
- <td class="type">
2626
-
2627
-
2628
- <span class="param-type">Number</span>
2629
-
2630
-
2631
-
2632
- </td>
2633
-
2634
-
2635
- <td class="attributes">
2636
-
2637
- &lt;optional><br>
2638
-
2639
-
2640
-
2641
-
2642
-
2643
- </td>
2644
-
2645
-
2646
-
2647
- <td class="default">
2648
-
2649
- 1
2650
-
2651
- </td>
2652
-
2653
-
2654
- <td class="description last"></td>
2655
- </tr>
2656
-
2657
-
2658
-
2659
- <tr>
2660
-
2661
- <td class="name"><code>color</code></td>
2662
-
2663
-
2664
- <td class="type">
2665
-
2666
-
2667
- <span class="param-type">String</span>
2668
-
2669
-
2670
-
2671
- </td>
2672
-
2673
-
2674
- <td class="attributes">
2675
-
2676
- &lt;optional><br>
2677
-
2678
-
2679
-
2680
-
2681
-
2682
- </td>
2683
-
2684
-
2685
-
2686
- <td class="default">
2687
-
2688
- '#fff'
2689
-
2690
- </td>
2691
-
2692
-
2693
- <td class="description last"></td>
2694
- </tr>
2695
-
2696
-
2697
-
2698
- <tr>
2699
-
2700
- <td class="name"><code>time</code></td>
2701
-
2702
-
2703
- <td class="type">
2704
-
2705
-
2706
- <span class="param-type">Number</span>
2707
-
2708
-
2709
-
2710
- </td>
2711
-
2712
-
2713
- <td class="attributes">
2714
-
2715
- &lt;optional><br>
2716
-
2717
-
2718
-
2719
-
2720
-
2721
- </td>
2722
-
2723
-
2724
-
2725
- <td class="default">
2726
-
2727
- 0
2728
-
2729
- </td>
2730
-
2731
-
2732
- <td class="description last"></td>
2733
- </tr>
2734
-
2735
-
2736
-
2737
- <tr>
2738
-
2739
- <td class="name"><code>angle</code></td>
2740
-
2741
-
2742
- <td class="type">
2743
-
2744
-
2745
- <span class="param-type">Number</span>
2746
-
2747
-
2748
-
2749
- </td>
2750
-
2751
-
2752
- <td class="attributes">
2753
-
2754
- &lt;optional><br>
2755
-
2756
-
2757
-
2758
-
2759
-
2760
- </td>
2761
-
2762
-
2763
-
2764
- <td class="default">
2765
-
2766
- 0
2767
-
2768
- </td>
2769
-
2770
-
2771
- <td class="description last"></td>
2772
- </tr>
2773
-
2774
-
2775
-
2776
- <tr>
2777
-
2778
- <td class="name"><code>font</code></td>
2779
-
2780
-
2781
- <td class="type">
2782
-
2783
-
2784
- <span class="param-type">String</span>
2785
-
2786
-
2787
-
2788
- </td>
2789
-
2790
-
2791
- <td class="attributes">
2792
-
2793
- &lt;optional><br>
2794
-
2795
-
2796
-
2797
-
2798
-
2799
- </td>
2800
-
2801
-
2802
-
2803
- <td class="default">
2804
-
2805
- 'monospace'
2806
-
2807
- </td>
2808
-
2809
-
2810
- <td class="description last"></td>
2811
- </tr>
2812
-
2813
-
2814
- </tbody>
2815
- </table>
2816
-
2817
- </div>
2818
-
2819
-
2820
-
2821
-
2822
-
2823
-
2824
-
2825
- <dl class="details">
2826
-
2827
-
2828
-
2829
-
2830
-
2831
-
2832
-
2833
-
2834
-
2835
-
2836
-
2837
-
2838
-
2839
-
2840
-
2841
-
2842
-
2843
-
2844
-
2845
-
2846
-
2847
-
2848
-
2849
-
2850
-
2851
-
2852
- <div class="details-item-container">
2853
- <dt class="tag-source">Source:</dt>
2854
- <dd class="tag-source"><ul class="dummy"><li>
2855
- <a href="engineDebug.js.html">engineDebug.js</a>, <a href="engineDebug.js.html#line121">line 121</a>
2856
- </li></ul></dd>
2857
- </div>
2858
-
2859
-
2860
-
2861
-
2862
-
2863
-
2864
-
2865
- </dl>
2866
-
2867
-
2868
-
2869
-
2870
-
2871
-
2872
-
2873
-
2874
-
2875
-
2876
-
2877
-
2878
-
2879
-
2880
-
2881
-
2882
-
2883
-
2884
-
2885
-
2886
-
2887
-
2888
-
2889
-
2890
- </article>
2891
-
2892
- </section>
2893
-
2894
-
2895
-
2896
-
2897
- </div>
2898
-
2899
- <footer class="footer" id="footer">
2900
- <a href=https://github.com/KilledByAPixel/LittleJS>LittleJS - MIT License - Copyright 2021 Frank Force</a>
2901
- </footer>
2902
-
2903
- <script src="scripts/third-party/prettify.js"></script>
2904
- <script src="scripts/third-party/lang-css.js"></script>
2905
- <script type="text/javascript" src="scripts/misc.js"></script>
2906
-
2907
- <script>prettyPrint();</script>
2908
- <script src="scripts/linenumber.js"></script>
2909
- <script src="scripts/fix-code-block.js"></script>
2910
- <script src="scripts/fix-navbar.js"></script>
2911
-
2912
- <script src="scripts/search.js"></script>
2913
- <script src="scripts/third-party/fuse.js"></script>
2914
- <script>
2915
- var list = [{"title":"Color","link":"<a href=\"Color.html\">Color</a>"},{"title":"Color#add","link":"<a href=\"Color.html#add\">Color &rtrif; add</a>"},{"title":"Color#clamp","link":"<a href=\"Color.html#clamp\">Color &rtrif; clamp</a>"},{"title":"Color#copy","link":"<a href=\"Color.html#copy\">Color &rtrif; copy</a>"},{"title":"Color#divide","link":"<a href=\"Color.html#divide\">Color &rtrif; divide</a>"},{"title":"Color#lerp","link":"<a href=\"Color.html#lerp\">Color &rtrif; lerp</a>"},{"title":"Color#multiply","link":"<a href=\"Color.html#multiply\">Color &rtrif; multiply</a>"},{"title":"Color#mutate","link":"<a href=\"Color.html#mutate\">Color &rtrif; mutate</a>"},{"title":"Color#rgba","link":"<a href=\"Color.html#rgba\">Color &rtrif; rgba</a>"},{"title":"Color#rgbaInt","link":"<a href=\"Color.html#rgbaInt\">Color &rtrif; rgbaInt</a>"},{"title":"Color#scale","link":"<a href=\"Color.html#scale\">Color &rtrif; scale</a>"},{"title":"Color#setHSLA","link":"<a href=\"Color.html#setHSLA\">Color &rtrif; setHSLA</a>"},{"title":"Color#subtract","link":"<a href=\"Color.html#subtract\">Color &rtrif; subtract</a>"},{"title":"EngineObject","link":"<a href=\"EngineObject.html\">EngineObject</a>"},{"title":"EngineObject#addChild","link":"<a href=\"EngineObject.html#addChild\">EngineObject &rtrif; addChild</a>"},{"title":"EngineObject#applyAcceleration","link":"<a href=\"EngineObject.html#applyAcceleration\">EngineObject &rtrif; applyAcceleration</a>"},{"title":"EngineObject#applyForce","link":"<a href=\"EngineObject.html#applyForce\">EngineObject &rtrif; applyForce</a>"},{"title":"EngineObject#collideWithObject","link":"<a href=\"EngineObject.html#collideWithObject\">EngineObject &rtrif; collideWithObject</a>"},{"title":"EngineObject#collideWithTile","link":"<a href=\"EngineObject.html#collideWithTile\">EngineObject &rtrif; collideWithTile</a>"},{"title":"EngineObject#collideWithTileRaycast","link":"<a href=\"EngineObject.html#collideWithTileRaycast\">EngineObject &rtrif; collideWithTileRaycast</a>"},{"title":"EngineObject#destroy","link":"<a href=\"EngineObject.html#destroy\">EngineObject &rtrif; destroy</a>"},{"title":"EngineObject#getAliveTime","link":"<a href=\"EngineObject.html#getAliveTime\">EngineObject &rtrif; getAliveTime</a>"},{"title":"EngineObject#getMirrorSign","link":"<a href=\"EngineObject.html#getMirrorSign\">EngineObject &rtrif; getMirrorSign</a>"},{"title":"EngineObject#removeChild","link":"<a href=\"EngineObject.html#removeChild\">EngineObject &rtrif; removeChild</a>"},{"title":"EngineObject#render","link":"<a href=\"EngineObject.html#render\">EngineObject &rtrif; render</a>"},{"title":"EngineObject#setCollision","link":"<a href=\"EngineObject.html#setCollision\">EngineObject &rtrif; setCollision</a>"},{"title":"EngineObject#update","link":"<a href=\"EngineObject.html#update\">EngineObject &rtrif; update</a>"},{"title":"Medal","link":"<a href=\"Medal.html\">Medal</a>"},{"title":"Medal#render","link":"<a href=\"Medal.html#render\">Medal &rtrif; render</a>"},{"title":"Medal#renderIcon","link":"<a href=\"Medal.html#renderIcon\">Medal &rtrif; renderIcon</a>"},{"title":"Medal#unlock","link":"<a href=\"Medal.html#unlock\">Medal &rtrif; unlock</a>"},{"title":"Music","link":"<a href=\"Music.html\">Music</a>"},{"title":"Music#play","link":"<a href=\"Music.html#play\">Music &rtrif; play</a>"},{"title":"Newgrounds","link":"<a href=\"Newgrounds.html\">Newgrounds</a>"},{"title":"Newgrounds#call","link":"<a href=\"Newgrounds.html#call\">Newgrounds &rtrif; call</a>"},{"title":"Newgrounds#getScores","link":"<a href=\"Newgrounds.html#getScores\">Newgrounds &rtrif; getScores</a>"},{"title":"Newgrounds#logView","link":"<a href=\"Newgrounds.html#logView\">Newgrounds &rtrif; logView</a>"},{"title":"Newgrounds#postScore","link":"<a href=\"Newgrounds.html#postScore\">Newgrounds &rtrif; postScore</a>"},{"title":"Newgrounds#unlockMedal","link":"<a href=\"Newgrounds.html#unlockMedal\">Newgrounds &rtrif; unlockMedal</a>"},{"title":"Particle","link":"<a href=\"Particle.html\">Particle</a>"},{"title":"Particle#render","link":"<a href=\"Particle.html#render\">Particle &rtrif; render</a>"},{"title":"ParticleEmitter","link":"<a href=\"ParticleEmitter.html\">ParticleEmitter</a>"},{"title":"ParticleEmitter#emitParticle","link":"<a href=\"ParticleEmitter.html#emitParticle\">ParticleEmitter &rtrif; emitParticle</a>"},{"title":"ParticleEmitter#update","link":"<a href=\"ParticleEmitter.html#update\">ParticleEmitter &rtrif; update</a>"},{"title":"Sound","link":"<a href=\"Sound.html\">Sound</a>"},{"title":"Sound#play","link":"<a href=\"Sound.html#play\">Sound &rtrif; play</a>"},{"title":"Sound#playNote","link":"<a href=\"Sound.html#playNote\">Sound &rtrif; playNote</a>"},{"title":"TileLayer","link":"<a href=\"TileLayer.html\">TileLayer</a>"},{"title":"TileLayer.getTileCollisionData","link":"<a href=\"TileLayer.html#.getTileCollisionData\">TileLayer.getTileCollisionData &rtrif; undefined</a>"},{"title":"TileLayer.initTileCollision","link":"<a href=\"TileLayer.html#.initTileCollision\">TileLayer.initTileCollision &rtrif; undefined</a>"},{"title":"TileLayer.setTileCollisionData","link":"<a href=\"TileLayer.html#.setTileCollisionData\">TileLayer.setTileCollisionData &rtrif; undefined</a>"},{"title":"TileLayer.tileCollisionRaycast","link":"<a href=\"TileLayer.html#.tileCollisionRaycast\">TileLayer.tileCollisionRaycast &rtrif; undefined</a>"},{"title":"TileLayer.tileCollisionTest","link":"<a href=\"TileLayer.html#.tileCollisionTest\">TileLayer.tileCollisionTest &rtrif; undefined</a>"},{"title":"TileLayer#destroy","link":"<a href=\"TileLayer.html#destroy\">TileLayer &rtrif; destroy</a>"},{"title":"TileLayer#drawAllTileData","link":"<a href=\"TileLayer.html#drawAllTileData\">TileLayer &rtrif; drawAllTileData</a>"},{"title":"TileLayer#drawCanvas2D","link":"<a href=\"TileLayer.html#drawCanvas2D\">TileLayer &rtrif; drawCanvas2D</a>"},{"title":"TileLayer#drawRect","link":"<a href=\"TileLayer.html#drawRect\">TileLayer &rtrif; drawRect</a>"},{"title":"TileLayer#drawTile","link":"<a href=\"TileLayer.html#drawTile\">TileLayer &rtrif; drawTile</a>"},{"title":"TileLayer#drawTileData","link":"<a href=\"TileLayer.html#drawTileData\">TileLayer &rtrif; drawTileData</a>"},{"title":"TileLayer#getData","link":"<a href=\"TileLayer.html#getData\">TileLayer &rtrif; getData</a>"},{"title":"TileLayer#redraw","link":"<a href=\"TileLayer.html#redraw\">TileLayer &rtrif; redraw</a>"},{"title":"TileLayer#redrawEnd","link":"<a href=\"TileLayer.html#redrawEnd\">TileLayer &rtrif; redrawEnd</a>"},{"title":"TileLayer#redrawStart","link":"<a href=\"TileLayer.html#redrawStart\">TileLayer &rtrif; redrawStart</a>"},{"title":"TileLayer#setData","link":"<a href=\"TileLayer.html#setData\">TileLayer &rtrif; setData</a>"},{"title":"TileLayerData","link":"<a href=\"TileLayerData.html\">TileLayerData</a>"},{"title":"TileLayerData#clear","link":"<a href=\"TileLayerData.html#clear\">TileLayerData &rtrif; clear</a>"},{"title":"Timer","link":"<a href=\"Timer.html\">Timer</a>"},{"title":"Timer#active","link":"<a href=\"Timer.html#active\">Timer &rtrif; active</a>"},{"title":"Timer#elapsed","link":"<a href=\"Timer.html#elapsed\">Timer &rtrif; elapsed</a>"},{"title":"Timer#get","link":"<a href=\"Timer.html#get\">Timer &rtrif; get</a>"},{"title":"Timer#getPercent","link":"<a href=\"Timer.html#getPercent\">Timer &rtrif; getPercent</a>"},{"title":"Timer#isSet","link":"<a href=\"Timer.html#isSet\">Timer &rtrif; isSet</a>"},{"title":"Timer#set","link":"<a href=\"Timer.html#set\">Timer &rtrif; set</a>"},{"title":"Timer#unset","link":"<a href=\"Timer.html#unset\">Timer &rtrif; unset</a>"},{"title":"Vector2","link":"<a href=\"Vector2.html\">Vector2</a>"},{"title":"Vector2#add","link":"<a href=\"Vector2.html#add\">Vector2 &rtrif; add</a>"},{"title":"Vector2#angle","link":"<a href=\"Vector2.html#angle\">Vector2 &rtrif; angle</a>"},{"title":"Vector2#area","link":"<a href=\"Vector2.html#area\">Vector2 &rtrif; area</a>"},{"title":"Vector2#arrayCheck","link":"<a href=\"Vector2.html#arrayCheck\">Vector2 &rtrif; arrayCheck</a>"},{"title":"Vector2#clampLength","link":"<a href=\"Vector2.html#clampLength\">Vector2 &rtrif; clampLength</a>"},{"title":"Vector2#copy","link":"<a href=\"Vector2.html#copy\">Vector2 &rtrif; copy</a>"},{"title":"Vector2#cross","link":"<a href=\"Vector2.html#cross\">Vector2 &rtrif; cross</a>"},{"title":"Vector2#direction","link":"<a href=\"Vector2.html#direction\">Vector2 &rtrif; direction</a>"},{"title":"Vector2#distance","link":"<a href=\"Vector2.html#distance\">Vector2 &rtrif; distance</a>"},{"title":"Vector2#distanceSquared","link":"<a href=\"Vector2.html#distanceSquared\">Vector2 &rtrif; distanceSquared</a>"},{"title":"Vector2#divide","link":"<a href=\"Vector2.html#divide\">Vector2 &rtrif; divide</a>"},{"title":"Vector2#dot","link":"<a href=\"Vector2.html#dot\">Vector2 &rtrif; dot</a>"},{"title":"Vector2#flip","link":"<a href=\"Vector2.html#flip\">Vector2 &rtrif; flip</a>"},{"title":"Vector2#floor","link":"<a href=\"Vector2.html#floor\">Vector2 &rtrif; floor</a>"},{"title":"Vector2#invert","link":"<a href=\"Vector2.html#invert\">Vector2 &rtrif; invert</a>"},{"title":"Vector2#length","link":"<a href=\"Vector2.html#length\">Vector2 &rtrif; length</a>"},{"title":"Vector2#lengthSquared","link":"<a href=\"Vector2.html#lengthSquared\">Vector2 &rtrif; lengthSquared</a>"},{"title":"Vector2#lerp","link":"<a href=\"Vector2.html#lerp\">Vector2 &rtrif; lerp</a>"},{"title":"Vector2#multiply","link":"<a href=\"Vector2.html#multiply\">Vector2 &rtrif; multiply</a>"},{"title":"Vector2#normalize","link":"<a href=\"Vector2.html#normalize\">Vector2 &rtrif; normalize</a>"},{"title":"Vector2#rotate","link":"<a href=\"Vector2.html#rotate\">Vector2 &rtrif; rotate</a>"},{"title":"Vector2#scale","link":"<a href=\"Vector2.html#scale\">Vector2 &rtrif; scale</a>"},{"title":"Vector2#setAngle","link":"<a href=\"Vector2.html#setAngle\">Vector2 &rtrif; setAngle</a>"},{"title":"Vector2#subtract","link":"<a href=\"Vector2.html#subtract\">Vector2 &rtrif; subtract</a>"},{"title":"Audio","link":"<a href=\"Audio.html\">Audio</a>"},{"title":"Audio.getNoteFrequency","link":"<a href=\"Audio.html#.getNoteFrequency\">Audio.getNoteFrequency &rtrif; undefined</a>"},{"title":"Audio.playAudioFile","link":"<a href=\"Audio.html#.playAudioFile\">Audio.playAudioFile &rtrif; undefined</a>"},{"title":"Audio.playSamples","link":"<a href=\"Audio.html#.playSamples\">Audio.playSamples &rtrif; undefined</a>"},{"title":"Audio.speak","link":"<a href=\"Audio.html#.speak\">Audio.speak &rtrif; undefined</a>"},{"title":"Audio.stopSpeech","link":"<a href=\"Audio.html#.stopSpeech\">Audio.stopSpeech &rtrif; undefined</a>"},{"title":"Audio.zzfx","link":"<a href=\"Audio.html#.zzfx\">Audio.zzfx &rtrif; undefined</a>"},{"title":"Audio.zzfxG","link":"<a href=\"Audio.html#.zzfxG\">Audio.zzfxG &rtrif; undefined</a>"},{"title":"Audio.zzfxM","link":"<a href=\"Audio.html#.zzfxM\">Audio.zzfxM &rtrif; undefined</a>"},{"title":"Debug","link":"<a href=\"Debug.html\">Debug</a>"},{"title":"Debug.debugAABB","link":"<a href=\"Debug.html#.debugAABB\">Debug.debugAABB &rtrif; undefined</a>"},{"title":"Debug.debugCircle","link":"<a href=\"Debug.html#.debugCircle\">Debug.debugCircle &rtrif; undefined</a>"},{"title":"Debug.debugClear","link":"<a href=\"Debug.html#.debugClear\">Debug.debugClear &rtrif; undefined</a>"},{"title":"Debug.debugLine","link":"<a href=\"Debug.html#.debugLine\">Debug.debugLine &rtrif; undefined</a>"},{"title":"Debug.debugPoint","link":"<a href=\"Debug.html#.debugPoint\">Debug.debugPoint &rtrif; undefined</a>"},{"title":"Debug.debugRect","link":"<a href=\"Debug.html#.debugRect\">Debug.debugRect &rtrif; undefined</a>"},{"title":"Debug.debugSaveCanvas","link":"<a href=\"Debug.html#.debugSaveCanvas\">Debug.debugSaveCanvas &rtrif; undefined</a>"},{"title":"Debug.debugText","link":"<a href=\"Debug.html#.debugText\">Debug.debugText &rtrif; undefined</a>"},{"title":"Draw","link":"<a href=\"Draw.html\">Draw</a>"},{"title":"Draw.drawCanvas2D","link":"<a href=\"Draw.html#.drawCanvas2D\">Draw.drawCanvas2D &rtrif; undefined</a>"},{"title":"Draw.drawLine","link":"<a href=\"Draw.html#.drawLine\">Draw.drawLine &rtrif; undefined</a>"},{"title":"Draw.drawRect","link":"<a href=\"Draw.html#.drawRect\">Draw.drawRect &rtrif; undefined</a>"},{"title":"Draw.drawRectScreenSpace","link":"<a href=\"Draw.html#.drawRectScreenSpace\">Draw.drawRectScreenSpace &rtrif; undefined</a>"},{"title":"Draw.drawText","link":"<a href=\"Draw.html#.drawText\">Draw.drawText &rtrif; undefined</a>"},{"title":"Draw.drawTile","link":"<a href=\"Draw.html#.drawTile\">Draw.drawTile &rtrif; undefined</a>"},{"title":"Draw.drawTileScreenSpace","link":"<a href=\"Draw.html#.drawTileScreenSpace\">Draw.drawTileScreenSpace &rtrif; undefined</a>"},{"title":"Draw.isFullscreen","link":"<a href=\"Draw.html#.isFullscreen\">Draw.isFullscreen &rtrif; undefined</a>"},{"title":"Draw.screenToWorld","link":"<a href=\"Draw.html#.screenToWorld\">Draw.screenToWorld &rtrif; undefined</a>"},{"title":"Draw.setBlendMode","link":"<a href=\"Draw.html#.setBlendMode\">Draw.setBlendMode &rtrif; undefined</a>"},{"title":"Draw.toggleFullscreen","link":"<a href=\"Draw.html#.toggleFullscreen\">Draw.toggleFullscreen &rtrif; undefined</a>"},{"title":"Draw.worldToScreen","link":"<a href=\"Draw.html#.worldToScreen\">Draw.worldToScreen &rtrif; undefined</a>"},{"title":"Input","link":"<a href=\"Input.html\">Input</a>"},{"title":"Input.clearInput","link":"<a href=\"Input.html#.clearInput\">Input.clearInput &rtrif; undefined</a>"},{"title":"Input.gamepadIsDown","link":"<a href=\"Input.html#.gamepadIsDown\">Input.gamepadIsDown &rtrif; undefined</a>"},{"title":"Input.gamepadStick","link":"<a href=\"Input.html#.gamepadStick\">Input.gamepadStick &rtrif; undefined</a>"},{"title":"Input.gamepadWasPressed","link":"<a href=\"Input.html#.gamepadWasPressed\">Input.gamepadWasPressed &rtrif; undefined</a>"},{"title":"Input.gamepadWasReleased","link":"<a href=\"Input.html#.gamepadWasReleased\">Input.gamepadWasReleased &rtrif; undefined</a>"},{"title":"Input.keyIsDown","link":"<a href=\"Input.html#.keyIsDown\">Input.keyIsDown &rtrif; undefined</a>"},{"title":"Input.keyWasPressed","link":"<a href=\"Input.html#.keyWasPressed\">Input.keyWasPressed &rtrif; undefined</a>"},{"title":"Input.keyWasReleased","link":"<a href=\"Input.html#.keyWasReleased\">Input.keyWasReleased &rtrif; undefined</a>"},{"title":"Medals","link":"<a href=\"Medals.html\">Medals</a>"},{"title":"Medals.medalsInit","link":"<a href=\"Medals.html#.medalsInit\">Medals.medalsInit &rtrif; undefined</a>"},{"title":"Random","link":"<a href=\"Random.html\">Random</a>"},{"title":"Random.rand","link":"<a href=\"Random.html#.rand\">Random.rand &rtrif; undefined</a>"},{"title":"Random.randColor","link":"<a href=\"Random.html#.randColor\">Random.randColor &rtrif; undefined</a>"},{"title":"Random.randInCircle","link":"<a href=\"Random.html#.randInCircle\">Random.randInCircle &rtrif; undefined</a>"},{"title":"Random.randInt","link":"<a href=\"Random.html#.randInt\">Random.randInt &rtrif; undefined</a>"},{"title":"Random.randSeeded","link":"<a href=\"Random.html#.randSeeded\">Random.randSeeded &rtrif; undefined</a>"},{"title":"Random.randSign","link":"<a href=\"Random.html#.randSign\">Random.randSign &rtrif; undefined</a>"},{"title":"Random.randVector","link":"<a href=\"Random.html#.randVector\">Random.randVector &rtrif; undefined</a>"},{"title":"Settings","link":"<a href=\"Settings.html\">Settings</a>"},{"title":"Utilities","link":"<a href=\"Utilities.html\">Utilities</a>"},{"title":"Utilities.abs","link":"<a href=\"Utilities.html#.abs\">Utilities.abs &rtrif; undefined</a>"},{"title":"Utilities.clamp","link":"<a href=\"Utilities.html#.clamp\">Utilities.clamp &rtrif; undefined</a>"},{"title":"Utilities.formatTime","link":"<a href=\"Utilities.html#.formatTime\">Utilities.formatTime &rtrif; undefined</a>"},{"title":"Utilities.isOverlapping","link":"<a href=\"Utilities.html#.isOverlapping\">Utilities.isOverlapping &rtrif; undefined</a>"},{"title":"Utilities.lerp","link":"<a href=\"Utilities.html#.lerp\">Utilities.lerp &rtrif; undefined</a>"},{"title":"Utilities.max","link":"<a href=\"Utilities.html#.max\">Utilities.max &rtrif; undefined</a>"},{"title":"Utilities.min","link":"<a href=\"Utilities.html#.min\">Utilities.min &rtrif; undefined</a>"},{"title":"Utilities.mod","link":"<a href=\"Utilities.html#.mod\">Utilities.mod &rtrif; undefined</a>"},{"title":"Utilities.nearestPowerOfTwo","link":"<a href=\"Utilities.html#.nearestPowerOfTwo\">Utilities.nearestPowerOfTwo &rtrif; undefined</a>"},{"title":"Utilities.percent","link":"<a href=\"Utilities.html#.percent\">Utilities.percent &rtrif; undefined</a>"},{"title":"Utilities.sign","link":"<a href=\"Utilities.html#.sign\">Utilities.sign &rtrif; undefined</a>"},{"title":"Utilities.smoothStep","link":"<a href=\"Utilities.html#.smoothStep\">Utilities.smoothStep &rtrif; undefined</a>"},{"title":"Utilities.vec2","link":"<a href=\"Utilities.html#.vec2\">Utilities.vec2 &rtrif; undefined</a>"},{"title":"Utilities.wave","link":"<a href=\"Utilities.html#.wave\">Utilities.wave &rtrif; undefined</a>"},{"title":"WebGL","link":"<a href=\"WebGL.html\">WebGL</a>"},{"title":"WebGL.glCompileShader","link":"<a href=\"WebGL.html#.glCompileShader\">WebGL.glCompileShader &rtrif; undefined</a>"},{"title":"WebGL.glCopyToContext","link":"<a href=\"WebGL.html#.glCopyToContext\">WebGL.glCopyToContext &rtrif; undefined</a>"},{"title":"WebGL.glCreateBuffer","link":"<a href=\"WebGL.html#.glCreateBuffer\">WebGL.glCreateBuffer &rtrif; undefined</a>"},{"title":"WebGL.glCreateProgram","link":"<a href=\"WebGL.html#.glCreateProgram\">WebGL.glCreateProgram &rtrif; undefined</a>"},{"title":"WebGL.glCreateTexture","link":"<a href=\"WebGL.html#.glCreateTexture\">WebGL.glCreateTexture &rtrif; undefined</a>"},{"title":"WebGL.glFlush","link":"<a href=\"WebGL.html#.glFlush\">WebGL.glFlush &rtrif; undefined</a>"},{"title":"WebGL.glSetBlendMode","link":"<a href=\"WebGL.html#.glSetBlendMode\">WebGL.glSetBlendMode &rtrif; undefined</a>"},{"title":"WebGL.glSetTexture","link":"<a href=\"WebGL.html#.glSetTexture\">WebGL.glSetTexture &rtrif; undefined</a>"},{"title":"engineCollideObjects","link":"<a href=\"global.html#engineCollideObjects\">engineCollideObjects</a>"},{"title":"engineInit","link":"<a href=\"global.html#engineInit\">engineInit</a>"},{"title":"engineName","link":"<a href=\"global.html#engineName\">engineName</a>"},{"title":"engineObjects","link":"<a href=\"global.html#engineObjects\">engineObjects</a>"},{"title":"engineObjectsCallback","link":"<a href=\"global.html#engineObjectsCallback\">engineObjectsCallback</a>"},{"title":"engineObjectsDestroy","link":"<a href=\"global.html#engineObjectsDestroy\">engineObjectsDestroy</a>"},{"title":"engineObjectsUpdate","link":"<a href=\"global.html#engineObjectsUpdate\">engineObjectsUpdate</a>"},{"title":"engineVersion","link":"<a href=\"global.html#engineVersion\">engineVersion</a>"},{"title":"FPS","link":"<a href=\"global.html#FPS\">FPS</a>"},{"title":"frame","link":"<a href=\"global.html#frame\">frame</a>"},{"title":"paused","link":"<a href=\"global.html#paused\">paused</a>"},{"title":"time","link":"<a href=\"global.html#time\">time</a>"},{"title":"timeDelta","link":"<a href=\"global.html#timeDelta\">timeDelta</a>"},{"title":"timeReal","link":"<a href=\"global.html#timeReal\">timeReal</a>"}];
2916
- var options =
2917
- setupSearch(list, options)
2918
- </script>
2919
-
2920
-
2921
-
2922
-
2923
-
2924
-
2925
-
2926
-
2927
-
2928
-
2929
-
2930
- </body>
2931
-
2932
- </html>