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/Draw.html DELETED
@@ -1,3854 +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
- Draw
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
- Draw
104
- </h1>
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
- <section>
113
-
114
-
115
- <header>
116
-
117
-
118
- <h2>
119
-
120
- Draw
121
-
122
- </h2>
123
-
124
-
125
-
126
- </header>
127
-
128
-
129
- <article>
130
- <div class="container-overview">
131
-
132
-
133
- <div class="description">LittleJS Drawing System
134
  <br> - Hybrid with both Canvas2D and WebGL available
135
1
  <br> - Super fast tile sheet rendering with WebGL
136
2
  <br> - Can apply rotation, mirror, color and additive color
137
3
  <br> - Many useful utility functions</div>
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
- <dl class="details">
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
-
172
- <div class="details-item-container">
173
- <dt class="tag-source">Source:</dt>
174
- <dd class="tag-source"><ul class="dummy"><li>
175
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line1">line 1</a>
176
- </li></ul></dd>
177
- </div>
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
- </dl>
186
-
187
-
188
-
189
-
190
-
191
-
192
- </div>
193
-
194
-
195
-
196
-
197
-
198
-
199
-
200
-
201
-
202
-
203
-
204
-
205
- <h3 class="subsection-title">Members</h3>
206
-
207
-
208
-
209
- <h4 class="name" id=".mainCanvas">
210
- <a href="#.mainCanvas">#</a>
211
- <span class="type-signature">(static) </span>mainCanvas<span class="type-signature"> :HTMLCanvasElement</span>
212
- </h4>
213
-
214
-
215
-
216
-
217
- <div class="description">
218
- The primary 2D canvas visible to the user
219
- </div>
220
-
221
-
222
-
223
- <div class="member-item-container flex">
224
- <strong>Type: </strong>
225
- <ul>
226
- <li>
227
-
228
- <span class="param-type">HTMLCanvasElement</span>
229
-
230
-
231
- </li>
232
- </ul>
233
- </div>
234
-
235
-
236
-
237
-
238
-
239
-
240
-
241
- <dl class="details">
242
-
243
-
244
-
245
-
246
-
247
-
248
-
249
-
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
-
260
-
261
-
262
-
263
-
264
-
265
-
266
-
267
-
268
- <div class="details-item-container">
269
- <dt class="tag-source">Source:</dt>
270
- <dd class="tag-source"><ul class="dummy"><li>
271
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line20">line 20</a>
272
- </li></ul></dd>
273
- </div>
274
-
275
-
276
-
277
-
278
-
279
-
280
-
281
- </dl>
282
-
283
-
284
-
285
-
286
-
287
-
288
-
289
-
290
-
291
-
292
- <h4 class="name" id=".mainCanvasSize">
293
- <a href="#.mainCanvasSize">#</a>
294
- <span class="type-signature">(static) </span>mainCanvasSize<span class="type-signature"> :<a href="Vector2.html">Vector2</a></span>
295
- </h4>
296
-
297
-
298
-
299
-
300
- <div class="description">
301
- The size of the main canvas (and other secondary canvases: overlayCanvas and glCanvas)
302
- </div>
303
-
304
-
305
-
306
- <div class="member-item-container flex">
307
- <strong>Type: </strong>
308
- <ul>
309
- <li>
310
-
311
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
312
-
313
-
314
- </li>
315
- </ul>
316
- </div>
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
- <dl class="details">
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
-
341
-
342
-
343
-
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
- <div class="details-item-container">
352
- <dt class="tag-source">Source:</dt>
353
- <dd class="tag-source"><ul class="dummy"><li>
354
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line40">line 40</a>
355
- </li></ul></dd>
356
- </div>
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
- </dl>
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
- <h4 class="name" id=".mainContext">
376
- <a href="#.mainContext">#</a>
377
- <span class="type-signature">(static) </span>mainContext<span class="type-signature"> :CanvasRenderingContext2D</span>
378
- </h4>
379
-
380
-
381
-
382
-
383
- <div class="description">
384
- 2d context for mainCanvas
385
- </div>
386
-
387
-
388
-
389
- <div class="member-item-container flex">
390
- <strong>Type: </strong>
391
- <ul>
392
- <li>
393
-
394
- <span class="param-type">CanvasRenderingContext2D</span>
395
-
396
-
397
- </li>
398
- </ul>
399
- </div>
400
-
401
-
402
-
403
-
404
-
405
-
406
-
407
- <dl class="details">
408
-
409
-
410
-
411
-
412
-
413
-
414
-
415
-
416
-
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
-
430
-
431
-
432
-
433
-
434
- <div class="details-item-container">
435
- <dt class="tag-source">Source:</dt>
436
- <dd class="tag-source"><ul class="dummy"><li>
437
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line25">line 25</a>
438
- </li></ul></dd>
439
- </div>
440
-
441
-
442
-
443
-
444
-
445
-
446
-
447
- </dl>
448
-
449
-
450
-
451
-
452
-
453
-
454
-
455
-
456
-
457
-
458
- <h4 class="name" id=".overlayCanvas">
459
- <a href="#.overlayCanvas">#</a>
460
- <span class="type-signature">(static) </span>overlayCanvas<span class="type-signature"> :HTMLCanvasElement</span>
461
- </h4>
462
-
463
-
464
-
465
-
466
- <div class="description">
467
- A canvas that appears on top of everything the same size as mainCanvas
468
- </div>
469
-
470
-
471
-
472
- <div class="member-item-container flex">
473
- <strong>Type: </strong>
474
- <ul>
475
- <li>
476
-
477
- <span class="param-type">HTMLCanvasElement</span>
478
-
479
-
480
- </li>
481
- </ul>
482
- </div>
483
-
484
-
485
-
486
-
487
-
488
-
489
-
490
- <dl class="details">
491
-
492
-
493
-
494
-
495
-
496
-
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
-
511
-
512
-
513
-
514
-
515
-
516
-
517
- <div class="details-item-container">
518
- <dt class="tag-source">Source:</dt>
519
- <dd class="tag-source"><ul class="dummy"><li>
520
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line30">line 30</a>
521
- </li></ul></dd>
522
- </div>
523
-
524
-
525
-
526
-
527
-
528
-
529
-
530
- </dl>
531
-
532
-
533
-
534
-
535
-
536
-
537
-
538
-
539
-
540
-
541
- <h4 class="name" id=".overlayContext">
542
- <a href="#.overlayContext">#</a>
543
- <span class="type-signature">(static) </span>overlayContext<span class="type-signature"> :CanvasRenderingContext2D</span>
544
- </h4>
545
-
546
-
547
-
548
-
549
- <div class="description">
550
- 2d context for overlayCanvas
551
- </div>
552
-
553
-
554
-
555
- <div class="member-item-container flex">
556
- <strong>Type: </strong>
557
- <ul>
558
- <li>
559
-
560
- <span class="param-type">CanvasRenderingContext2D</span>
561
-
562
-
563
- </li>
564
- </ul>
565
- </div>
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
- <dl class="details">
574
-
575
-
576
-
577
-
578
-
579
-
580
-
581
-
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
- <div class="details-item-container">
601
- <dt class="tag-source">Source:</dt>
602
- <dd class="tag-source"><ul class="dummy"><li>
603
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line35">line 35</a>
604
- </li></ul></dd>
605
- </div>
606
-
607
-
608
-
609
-
610
-
611
-
612
-
613
- </dl>
614
-
615
-
616
-
617
-
618
-
619
-
620
-
621
-
622
-
623
-
624
- <h4 class="name" id=".tileImage">
625
- <a href="#.tileImage">#</a>
626
- <span class="type-signature">(static, constant) </span>tileImage<span class="type-signature"> :Image</span>
627
- </h4>
628
-
629
-
630
-
631
-
632
- <div class="description">
633
- Main tilesheet to use for batch rendering system
634
- </div>
635
-
636
-
637
-
638
- <div class="member-item-container flex">
639
- <strong>Type: </strong>
640
- <ul>
641
- <li>
642
-
643
- <span class="param-type">Image</span>
644
-
645
-
646
- </li>
647
- </ul>
648
- </div>
649
-
650
-
651
-
652
-
653
-
654
-
655
-
656
- <dl class="details">
657
-
658
-
659
-
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
-
670
-
671
-
672
-
673
-
674
-
675
-
676
-
677
-
678
-
679
-
680
-
681
-
682
-
683
- <div class="details-item-container">
684
- <dt class="tag-source">Source:</dt>
685
- <dd class="tag-source"><ul class="dummy"><li>
686
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line15">line 15</a>
687
- </li></ul></dd>
688
- </div>
689
-
690
-
691
-
692
-
693
-
694
-
695
-
696
- </dl>
697
-
698
-
699
-
700
-
701
-
702
-
703
-
704
-
705
-
706
-
707
-
708
-
709
- <h3 class="subsection-title">Methods</h3>
710
-
711
-
712
-
713
-
714
-
715
-
716
- <h4 class="name" id=".drawCanvas2D">
717
- <a href="#.drawCanvas2D">#</a>
718
- <span class="type-signature">(static) </span>drawCanvas2D<span class="signature">(pos, size, angle, mirror, drawFunction, context<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
719
- </h4>
720
-
721
-
722
-
723
-
724
-
725
- <div class="description">
726
- Draw directly to a 2d canvas context in world space (bipass webgl)
727
- </div>
728
-
729
-
730
-
731
-
732
-
733
-
734
-
735
-
736
-
737
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
738
- <strong>Parameters:</strong>
739
-
740
-
741
- <table class="params">
742
- <thead>
743
- <tr>
744
-
745
- <th>Name</th>
746
-
747
-
748
- <th>Type</th>
749
-
750
-
751
- <th>Attributes</th>
752
-
753
-
754
-
755
- <th>Default</th>
756
-
757
-
758
- <th class="last">Description</th>
759
- </tr>
760
- </thead>
761
-
762
- <tbody>
763
-
764
-
765
- <tr>
766
-
767
- <td class="name"><code>pos</code></td>
768
-
769
-
770
- <td class="type">
771
-
772
-
773
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
774
-
775
-
776
-
777
- </td>
778
-
779
-
780
- <td class="attributes">
781
-
782
-
783
-
784
-
785
-
786
- </td>
787
-
788
-
789
-
790
- <td class="default">
791
-
792
- </td>
793
-
794
-
795
- <td class="description last"></td>
796
- </tr>
797
-
798
-
799
-
800
- <tr>
801
-
802
- <td class="name"><code>size</code></td>
803
-
804
-
805
- <td class="type">
806
-
807
-
808
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
809
-
810
-
811
-
812
- </td>
813
-
814
-
815
- <td class="attributes">
816
-
817
-
818
-
819
-
820
-
821
- </td>
822
-
823
-
824
-
825
- <td class="default">
826
-
827
- </td>
828
-
829
-
830
- <td class="description last"></td>
831
- </tr>
832
-
833
-
834
-
835
- <tr>
836
-
837
- <td class="name"><code>angle</code></td>
838
-
839
-
840
- <td class="type">
841
-
842
-
843
- <span class="param-type">Number</span>
844
-
845
-
846
-
847
- </td>
848
-
849
-
850
- <td class="attributes">
851
-
852
-
853
-
854
-
855
-
856
- </td>
857
-
858
-
859
-
860
- <td class="default">
861
-
862
- </td>
863
-
864
-
865
- <td class="description last"></td>
866
- </tr>
867
-
868
-
869
-
870
- <tr>
871
-
872
- <td class="name"><code>mirror</code></td>
873
-
874
-
875
- <td class="type">
876
-
877
-
878
- <span class="param-type">Boolean</span>
879
-
880
-
881
-
882
- </td>
883
-
884
-
885
- <td class="attributes">
886
-
887
-
888
-
889
-
890
-
891
- </td>
892
-
893
-
894
-
895
- <td class="default">
896
-
897
- </td>
898
-
899
-
900
- <td class="description last"></td>
901
- </tr>
902
-
903
-
904
-
905
- <tr>
906
-
907
- <td class="name"><code>drawFunction</code></td>
908
-
909
-
910
- <td class="type">
911
-
912
-
913
- <span class="param-type">function</span>
914
-
915
-
916
-
917
- </td>
918
-
919
-
920
- <td class="attributes">
921
-
922
-
923
-
924
-
925
-
926
- </td>
927
-
928
-
929
-
930
- <td class="default">
931
-
932
- </td>
933
-
934
-
935
- <td class="description last"></td>
936
- </tr>
937
-
938
-
939
-
940
- <tr>
941
-
942
- <td class="name"><code>context</code></td>
943
-
944
-
945
- <td class="type">
946
-
947
-
948
- <span class="param-type">CanvasRenderingContext2D</span>
949
-
950
-
951
-
952
- </td>
953
-
954
-
955
- <td class="attributes">
956
-
957
- &lt;optional><br>
958
-
959
-
960
-
961
-
962
-
963
- </td>
964
-
965
-
966
-
967
- <td class="default">
968
-
969
- mainContext
970
-
971
- </td>
972
-
973
-
974
- <td class="description last"></td>
975
- </tr>
976
-
977
-
978
- </tbody>
979
- </table>
980
-
981
- </div>
982
-
983
-
984
-
985
-
986
-
987
-
988
-
989
- <dl class="details">
990
-
991
-
992
-
993
-
994
-
995
-
996
-
997
-
998
-
999
-
1000
-
1001
-
1002
-
1003
-
1004
-
1005
-
1006
-
1007
-
1008
-
1009
-
1010
-
1011
-
1012
-
1013
-
1014
-
1015
-
1016
- <div class="details-item-container">
1017
- <dt class="tag-source">Source:</dt>
1018
- <dd class="tag-source"><ul class="dummy"><li>
1019
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line179">line 179</a>
1020
- </li></ul></dd>
1021
- </div>
1022
-
1023
-
1024
-
1025
-
1026
-
1027
-
1028
-
1029
- </dl>
1030
-
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
-
1038
-
1039
-
1040
-
1041
-
1042
-
1043
-
1044
-
1045
-
1046
-
1047
-
1048
-
1049
-
1050
-
1051
-
1052
-
1053
- <h4 class="name" id=".drawLine">
1054
- <a href="#.drawLine">#</a>
1055
- <span class="type-signature">(static) </span>drawLine<span class="signature">(posA, posB, thickness<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1056
- </h4>
1057
-
1058
-
1059
-
1060
-
1061
-
1062
- <div class="description">
1063
- Draw colored line between two points
1064
- </div>
1065
-
1066
-
1067
-
1068
-
1069
-
1070
-
1071
-
1072
-
1073
-
1074
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1075
- <strong>Parameters:</strong>
1076
-
1077
-
1078
- <table class="params">
1079
- <thead>
1080
- <tr>
1081
-
1082
- <th>Name</th>
1083
-
1084
-
1085
- <th>Type</th>
1086
-
1087
-
1088
- <th>Attributes</th>
1089
-
1090
-
1091
-
1092
- <th>Default</th>
1093
-
1094
-
1095
- <th class="last">Description</th>
1096
- </tr>
1097
- </thead>
1098
-
1099
- <tbody>
1100
-
1101
-
1102
- <tr>
1103
-
1104
- <td class="name"><code>posA</code></td>
1105
-
1106
-
1107
- <td class="type">
1108
-
1109
-
1110
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1111
-
1112
-
1113
-
1114
- </td>
1115
-
1116
-
1117
- <td class="attributes">
1118
-
1119
-
1120
-
1121
-
1122
-
1123
- </td>
1124
-
1125
-
1126
-
1127
- <td class="default">
1128
-
1129
- </td>
1130
-
1131
-
1132
- <td class="description last"></td>
1133
- </tr>
1134
-
1135
-
1136
-
1137
- <tr>
1138
-
1139
- <td class="name"><code>posB</code></td>
1140
-
1141
-
1142
- <td class="type">
1143
-
1144
-
1145
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1146
-
1147
-
1148
-
1149
- </td>
1150
-
1151
-
1152
- <td class="attributes">
1153
-
1154
-
1155
-
1156
-
1157
-
1158
- </td>
1159
-
1160
-
1161
-
1162
- <td class="default">
1163
-
1164
- </td>
1165
-
1166
-
1167
- <td class="description last"></td>
1168
- </tr>
1169
-
1170
-
1171
-
1172
- <tr>
1173
-
1174
- <td class="name"><code>thickness</code></td>
1175
-
1176
-
1177
- <td class="type">
1178
-
1179
-
1180
- <span class="param-type">Number</span>
1181
-
1182
-
1183
-
1184
- </td>
1185
-
1186
-
1187
- <td class="attributes">
1188
-
1189
- &lt;optional><br>
1190
-
1191
-
1192
-
1193
-
1194
-
1195
- </td>
1196
-
1197
-
1198
-
1199
- <td class="default">
1200
-
1201
- .1
1202
-
1203
- </td>
1204
-
1205
-
1206
- <td class="description last"></td>
1207
- </tr>
1208
-
1209
-
1210
-
1211
- <tr>
1212
-
1213
- <td class="name"><code>color</code></td>
1214
-
1215
-
1216
- <td class="type">
1217
-
1218
-
1219
- <span class="param-type"><a href="Color.html">Color</a></span>
1220
-
1221
-
1222
-
1223
- </td>
1224
-
1225
-
1226
- <td class="attributes">
1227
-
1228
- &lt;optional><br>
1229
-
1230
-
1231
-
1232
-
1233
-
1234
- </td>
1235
-
1236
-
1237
-
1238
- <td class="default">
1239
-
1240
- new Color(1,1,1)
1241
-
1242
- </td>
1243
-
1244
-
1245
- <td class="description last"></td>
1246
- </tr>
1247
-
1248
-
1249
- </tbody>
1250
- </table>
1251
-
1252
- </div>
1253
-
1254
-
1255
-
1256
-
1257
-
1258
-
1259
-
1260
- <dl class="details">
1261
-
1262
-
1263
-
1264
-
1265
-
1266
-
1267
-
1268
-
1269
-
1270
-
1271
-
1272
-
1273
-
1274
-
1275
-
1276
-
1277
-
1278
-
1279
-
1280
-
1281
-
1282
-
1283
-
1284
-
1285
-
1286
-
1287
- <div class="details-item-container">
1288
- <dt class="tag-source">Source:</dt>
1289
- <dd class="tag-source"><ul class="dummy"><li>
1290
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line164">line 164</a>
1291
- </li></ul></dd>
1292
- </div>
1293
-
1294
-
1295
-
1296
-
1297
-
1298
-
1299
-
1300
- </dl>
1301
-
1302
-
1303
-
1304
-
1305
-
1306
-
1307
-
1308
-
1309
-
1310
-
1311
-
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
- <h4 class="name" id=".drawRect">
1325
- <a href="#.drawRect">#</a>
1326
- <span class="type-signature">(static) </span>drawRect<span class="signature">(pos, size<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1327
- </h4>
1328
-
1329
-
1330
-
1331
-
1332
-
1333
- <div class="description">
1334
- Draw colored untextured rect centered on pos
1335
- </div>
1336
-
1337
-
1338
-
1339
-
1340
-
1341
-
1342
-
1343
-
1344
-
1345
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1346
- <strong>Parameters:</strong>
1347
-
1348
-
1349
- <table class="params">
1350
- <thead>
1351
- <tr>
1352
-
1353
- <th>Name</th>
1354
-
1355
-
1356
- <th>Type</th>
1357
-
1358
-
1359
- <th>Attributes</th>
1360
-
1361
-
1362
-
1363
- <th>Default</th>
1364
-
1365
-
1366
- <th class="last">Description</th>
1367
- </tr>
1368
- </thead>
1369
-
1370
- <tbody>
1371
-
1372
-
1373
- <tr>
1374
-
1375
- <td class="name"><code>pos</code></td>
1376
-
1377
-
1378
- <td class="type">
1379
-
1380
-
1381
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1382
-
1383
-
1384
-
1385
- </td>
1386
-
1387
-
1388
- <td class="attributes">
1389
-
1390
-
1391
-
1392
-
1393
-
1394
- </td>
1395
-
1396
-
1397
-
1398
- <td class="default">
1399
-
1400
- </td>
1401
-
1402
-
1403
- <td class="description last"></td>
1404
- </tr>
1405
-
1406
-
1407
-
1408
- <tr>
1409
-
1410
- <td class="name"><code>size</code></td>
1411
-
1412
-
1413
- <td class="type">
1414
-
1415
-
1416
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1417
-
1418
-
1419
-
1420
- </td>
1421
-
1422
-
1423
- <td class="attributes">
1424
-
1425
- &lt;optional><br>
1426
-
1427
-
1428
-
1429
-
1430
-
1431
- </td>
1432
-
1433
-
1434
-
1435
- <td class="default">
1436
-
1437
- new Vector2(1,1)
1438
-
1439
- </td>
1440
-
1441
-
1442
- <td class="description last"></td>
1443
- </tr>
1444
-
1445
-
1446
-
1447
- <tr>
1448
-
1449
- <td class="name"><code>color</code></td>
1450
-
1451
-
1452
- <td class="type">
1453
-
1454
-
1455
- <span class="param-type"><a href="Color.html">Color</a></span>
1456
-
1457
-
1458
-
1459
- </td>
1460
-
1461
-
1462
- <td class="attributes">
1463
-
1464
- &lt;optional><br>
1465
-
1466
-
1467
-
1468
-
1469
-
1470
- </td>
1471
-
1472
-
1473
-
1474
- <td class="default">
1475
-
1476
- new Color(1,1,1)
1477
-
1478
- </td>
1479
-
1480
-
1481
- <td class="description last"></td>
1482
- </tr>
1483
-
1484
-
1485
-
1486
- <tr>
1487
-
1488
- <td class="name"><code>angle</code></td>
1489
-
1490
-
1491
- <td class="type">
1492
-
1493
-
1494
- <span class="param-type">Number</span>
1495
-
1496
-
1497
-
1498
- </td>
1499
-
1500
-
1501
- <td class="attributes">
1502
-
1503
- &lt;optional><br>
1504
-
1505
-
1506
-
1507
-
1508
-
1509
- </td>
1510
-
1511
-
1512
-
1513
- <td class="default">
1514
-
1515
- 0
1516
-
1517
- </td>
1518
-
1519
-
1520
- <td class="description last"></td>
1521
- </tr>
1522
-
1523
-
1524
- </tbody>
1525
- </table>
1526
-
1527
- </div>
1528
-
1529
-
1530
-
1531
-
1532
-
1533
-
1534
-
1535
- <dl class="details">
1536
-
1537
-
1538
-
1539
-
1540
-
1541
-
1542
-
1543
-
1544
-
1545
-
1546
-
1547
-
1548
-
1549
-
1550
-
1551
-
1552
-
1553
-
1554
-
1555
-
1556
-
1557
-
1558
-
1559
-
1560
-
1561
-
1562
- <div class="details-item-container">
1563
- <dt class="tag-source">Source:</dt>
1564
- <dd class="tag-source"><ul class="dummy"><li>
1565
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line127">line 127</a>
1566
- </li></ul></dd>
1567
- </div>
1568
-
1569
-
1570
-
1571
-
1572
-
1573
-
1574
-
1575
- </dl>
1576
-
1577
-
1578
-
1579
-
1580
-
1581
-
1582
-
1583
-
1584
-
1585
-
1586
-
1587
-
1588
-
1589
-
1590
-
1591
-
1592
-
1593
-
1594
-
1595
-
1596
-
1597
-
1598
-
1599
- <h4 class="name" id=".drawRectScreenSpace">
1600
- <a href="#.drawRectScreenSpace">#</a>
1601
- <span class="type-signature">(static) </span>drawRectScreenSpace<span class="signature">(pos, size<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1602
- </h4>
1603
-
1604
-
1605
-
1606
-
1607
-
1608
- <div class="description">
1609
- Draw colored untextured rectangle in screen space
1610
- </div>
1611
-
1612
-
1613
-
1614
-
1615
-
1616
-
1617
-
1618
-
1619
-
1620
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1621
- <strong>Parameters:</strong>
1622
-
1623
-
1624
- <table class="params">
1625
- <thead>
1626
- <tr>
1627
-
1628
- <th>Name</th>
1629
-
1630
-
1631
- <th>Type</th>
1632
-
1633
-
1634
- <th>Attributes</th>
1635
-
1636
-
1637
-
1638
- <th>Default</th>
1639
-
1640
-
1641
- <th class="last">Description</th>
1642
- </tr>
1643
- </thead>
1644
-
1645
- <tbody>
1646
-
1647
-
1648
- <tr>
1649
-
1650
- <td class="name"><code>pos</code></td>
1651
-
1652
-
1653
- <td class="type">
1654
-
1655
-
1656
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1657
-
1658
-
1659
-
1660
- </td>
1661
-
1662
-
1663
- <td class="attributes">
1664
-
1665
-
1666
-
1667
-
1668
-
1669
- </td>
1670
-
1671
-
1672
-
1673
- <td class="default">
1674
-
1675
- </td>
1676
-
1677
-
1678
- <td class="description last"></td>
1679
- </tr>
1680
-
1681
-
1682
-
1683
- <tr>
1684
-
1685
- <td class="name"><code>size</code></td>
1686
-
1687
-
1688
- <td class="type">
1689
-
1690
-
1691
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1692
-
1693
-
1694
-
1695
- </td>
1696
-
1697
-
1698
- <td class="attributes">
1699
-
1700
- &lt;optional><br>
1701
-
1702
-
1703
-
1704
-
1705
-
1706
- </td>
1707
-
1708
-
1709
-
1710
- <td class="default">
1711
-
1712
- new Vector2(1,1)
1713
-
1714
- </td>
1715
-
1716
-
1717
- <td class="description last"></td>
1718
- </tr>
1719
-
1720
-
1721
-
1722
- <tr>
1723
-
1724
- <td class="name"><code>color</code></td>
1725
-
1726
-
1727
- <td class="type">
1728
-
1729
-
1730
- <span class="param-type"><a href="Color.html">Color</a></span>
1731
-
1732
-
1733
-
1734
- </td>
1735
-
1736
-
1737
- <td class="attributes">
1738
-
1739
- &lt;optional><br>
1740
-
1741
-
1742
-
1743
-
1744
-
1745
- </td>
1746
-
1747
-
1748
-
1749
- <td class="default">
1750
-
1751
- new Color(1,1,1)
1752
-
1753
- </td>
1754
-
1755
-
1756
- <td class="description last"></td>
1757
- </tr>
1758
-
1759
-
1760
-
1761
- <tr>
1762
-
1763
- <td class="name"><code>angle</code></td>
1764
-
1765
-
1766
- <td class="type">
1767
-
1768
-
1769
- <span class="param-type">Number</span>
1770
-
1771
-
1772
-
1773
- </td>
1774
-
1775
-
1776
- <td class="attributes">
1777
-
1778
- &lt;optional><br>
1779
-
1780
-
1781
-
1782
-
1783
-
1784
- </td>
1785
-
1786
-
1787
-
1788
- <td class="default">
1789
-
1790
- 0
1791
-
1792
- </td>
1793
-
1794
-
1795
- <td class="description last"></td>
1796
- </tr>
1797
-
1798
-
1799
- </tbody>
1800
- </table>
1801
-
1802
- </div>
1803
-
1804
-
1805
-
1806
-
1807
-
1808
-
1809
-
1810
- <dl class="details">
1811
-
1812
-
1813
-
1814
-
1815
-
1816
-
1817
-
1818
-
1819
-
1820
-
1821
-
1822
-
1823
-
1824
-
1825
-
1826
-
1827
-
1828
-
1829
-
1830
-
1831
-
1832
-
1833
-
1834
-
1835
-
1836
-
1837
- <div class="details-item-container">
1838
- <dt class="tag-source">Source:</dt>
1839
- <dd class="tag-source"><ul class="dummy"><li>
1840
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line153">line 153</a>
1841
- </li></ul></dd>
1842
- </div>
1843
-
1844
-
1845
-
1846
-
1847
-
1848
-
1849
-
1850
- </dl>
1851
-
1852
-
1853
-
1854
-
1855
-
1856
-
1857
-
1858
-
1859
-
1860
-
1861
-
1862
-
1863
-
1864
-
1865
-
1866
-
1867
-
1868
-
1869
-
1870
-
1871
-
1872
-
1873
-
1874
- <h4 class="name" id=".drawText">
1875
- <a href="#.drawText">#</a>
1876
- <span class="type-signature">(static) </span>drawText<span class="signature">(text, pos, size<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, lineWidth<span class="signature-attributes">opt</span>, lineColor<span class="signature-attributes">opt</span>, textAlign<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
1877
- </h4>
1878
-
1879
-
1880
-
1881
-
1882
-
1883
- <div class="description">
1884
- Draw text on overlay canvas in world space
1885
- </div>
1886
-
1887
-
1888
-
1889
-
1890
-
1891
-
1892
-
1893
-
1894
-
1895
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
1896
- <strong>Parameters:</strong>
1897
-
1898
-
1899
- <table class="params">
1900
- <thead>
1901
- <tr>
1902
-
1903
- <th>Name</th>
1904
-
1905
-
1906
- <th>Type</th>
1907
-
1908
-
1909
- <th>Attributes</th>
1910
-
1911
-
1912
-
1913
- <th>Default</th>
1914
-
1915
-
1916
- <th class="last">Description</th>
1917
- </tr>
1918
- </thead>
1919
-
1920
- <tbody>
1921
-
1922
-
1923
- <tr>
1924
-
1925
- <td class="name"><code>text</code></td>
1926
-
1927
-
1928
- <td class="type">
1929
-
1930
-
1931
- <span class="param-type">String</span>
1932
-
1933
-
1934
-
1935
- </td>
1936
-
1937
-
1938
- <td class="attributes">
1939
-
1940
-
1941
-
1942
-
1943
-
1944
- </td>
1945
-
1946
-
1947
-
1948
- <td class="default">
1949
-
1950
- </td>
1951
-
1952
-
1953
- <td class="description last"></td>
1954
- </tr>
1955
-
1956
-
1957
-
1958
- <tr>
1959
-
1960
- <td class="name"><code>pos</code></td>
1961
-
1962
-
1963
- <td class="type">
1964
-
1965
-
1966
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1967
-
1968
-
1969
-
1970
- </td>
1971
-
1972
-
1973
- <td class="attributes">
1974
-
1975
-
1976
-
1977
-
1978
-
1979
- </td>
1980
-
1981
-
1982
-
1983
- <td class="default">
1984
-
1985
- </td>
1986
-
1987
-
1988
- <td class="description last"></td>
1989
- </tr>
1990
-
1991
-
1992
-
1993
- <tr>
1994
-
1995
- <td class="name"><code>size</code></td>
1996
-
1997
-
1998
- <td class="type">
1999
-
2000
-
2001
- <span class="param-type">Number</span>
2002
-
2003
-
2004
-
2005
- </td>
2006
-
2007
-
2008
- <td class="attributes">
2009
-
2010
- &lt;optional><br>
2011
-
2012
-
2013
-
2014
-
2015
-
2016
- </td>
2017
-
2018
-
2019
-
2020
- <td class="default">
2021
-
2022
- 1
2023
-
2024
- </td>
2025
-
2026
-
2027
- <td class="description last"></td>
2028
- </tr>
2029
-
2030
-
2031
-
2032
- <tr>
2033
-
2034
- <td class="name"><code>color</code></td>
2035
-
2036
-
2037
- <td class="type">
2038
-
2039
-
2040
- <span class="param-type"><a href="Color.html">Color</a></span>
2041
-
2042
-
2043
-
2044
- </td>
2045
-
2046
-
2047
- <td class="attributes">
2048
-
2049
- &lt;optional><br>
2050
-
2051
-
2052
-
2053
-
2054
-
2055
- </td>
2056
-
2057
-
2058
-
2059
- <td class="default">
2060
-
2061
- new Color(1,1,1)
2062
-
2063
- </td>
2064
-
2065
-
2066
- <td class="description last"></td>
2067
- </tr>
2068
-
2069
-
2070
-
2071
- <tr>
2072
-
2073
- <td class="name"><code>lineWidth</code></td>
2074
-
2075
-
2076
- <td class="type">
2077
-
2078
-
2079
- <span class="param-type">Number</span>
2080
-
2081
-
2082
-
2083
- </td>
2084
-
2085
-
2086
- <td class="attributes">
2087
-
2088
- &lt;optional><br>
2089
-
2090
-
2091
-
2092
-
2093
-
2094
- </td>
2095
-
2096
-
2097
-
2098
- <td class="default">
2099
-
2100
- 0
2101
-
2102
- </td>
2103
-
2104
-
2105
- <td class="description last"></td>
2106
- </tr>
2107
-
2108
-
2109
-
2110
- <tr>
2111
-
2112
- <td class="name"><code>lineColor</code></td>
2113
-
2114
-
2115
- <td class="type">
2116
-
2117
-
2118
- <span class="param-type"><a href="Color.html">Color</a></span>
2119
-
2120
-
2121
-
2122
- </td>
2123
-
2124
-
2125
- <td class="attributes">
2126
-
2127
- &lt;optional><br>
2128
-
2129
-
2130
-
2131
-
2132
-
2133
- </td>
2134
-
2135
-
2136
-
2137
- <td class="default">
2138
-
2139
- new Color(0,0,0)
2140
-
2141
- </td>
2142
-
2143
-
2144
- <td class="description last"></td>
2145
- </tr>
2146
-
2147
-
2148
-
2149
- <tr>
2150
-
2151
- <td class="name"><code>textAlign</code></td>
2152
-
2153
-
2154
- <td class="type">
2155
-
2156
-
2157
- <span class="param-type">String</span>
2158
-
2159
-
2160
-
2161
- </td>
2162
-
2163
-
2164
- <td class="attributes">
2165
-
2166
- &lt;optional><br>
2167
-
2168
-
2169
-
2170
-
2171
-
2172
- </td>
2173
-
2174
-
2175
-
2176
- <td class="default">
2177
-
2178
- 'center'
2179
-
2180
- </td>
2181
-
2182
-
2183
- <td class="description last"></td>
2184
- </tr>
2185
-
2186
-
2187
- </tbody>
2188
- </table>
2189
-
2190
- </div>
2191
-
2192
-
2193
-
2194
-
2195
-
2196
-
2197
-
2198
- <dl class="details">
2199
-
2200
-
2201
-
2202
-
2203
-
2204
-
2205
-
2206
-
2207
-
2208
-
2209
-
2210
-
2211
-
2212
-
2213
-
2214
-
2215
-
2216
-
2217
-
2218
-
2219
-
2220
-
2221
-
2222
-
2223
-
2224
-
2225
- <div class="details-item-container">
2226
- <dt class="tag-source">Source:</dt>
2227
- <dd class="tag-source"><ul class="dummy"><li>
2228
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line201">line 201</a>
2229
- </li></ul></dd>
2230
- </div>
2231
-
2232
-
2233
-
2234
-
2235
-
2236
-
2237
-
2238
- </dl>
2239
-
2240
-
2241
-
2242
-
2243
-
2244
-
2245
-
2246
-
2247
-
2248
-
2249
-
2250
-
2251
-
2252
-
2253
-
2254
-
2255
-
2256
-
2257
-
2258
-
2259
-
2260
-
2261
-
2262
- <h4 class="name" id=".drawTile">
2263
- <a href="#.drawTile">#</a>
2264
- <span class="type-signature">(static) </span>drawTile<span class="signature">(pos, size<span class="signature-attributes">opt</span>, tileIndex<span class="signature-attributes">opt</span>, tileSize<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>, mirror<span class="signature-attributes">opt</span>, additiveColor<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
2265
- </h4>
2266
-
2267
-
2268
-
2269
-
2270
-
2271
- <div class="description">
2272
- Draw textured tile centered on pos
2273
- </div>
2274
-
2275
-
2276
-
2277
-
2278
-
2279
-
2280
-
2281
-
2282
-
2283
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2284
- <strong>Parameters:</strong>
2285
-
2286
-
2287
- <table class="params">
2288
- <thead>
2289
- <tr>
2290
-
2291
- <th>Name</th>
2292
-
2293
-
2294
- <th>Type</th>
2295
-
2296
-
2297
- <th>Attributes</th>
2298
-
2299
-
2300
-
2301
- <th>Default</th>
2302
-
2303
-
2304
- <th class="last">Description</th>
2305
- </tr>
2306
- </thead>
2307
-
2308
- <tbody>
2309
-
2310
-
2311
- <tr>
2312
-
2313
- <td class="name"><code>pos</code></td>
2314
-
2315
-
2316
- <td class="type">
2317
-
2318
-
2319
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2320
-
2321
-
2322
-
2323
- </td>
2324
-
2325
-
2326
- <td class="attributes">
2327
-
2328
-
2329
-
2330
-
2331
-
2332
- </td>
2333
-
2334
-
2335
-
2336
- <td class="default">
2337
-
2338
- </td>
2339
-
2340
-
2341
- <td class="description last">Center of the tile</td>
2342
- </tr>
2343
-
2344
-
2345
-
2346
- <tr>
2347
-
2348
- <td class="name"><code>size</code></td>
2349
-
2350
-
2351
- <td class="type">
2352
-
2353
-
2354
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2355
-
2356
-
2357
-
2358
- </td>
2359
-
2360
-
2361
- <td class="attributes">
2362
-
2363
- &lt;optional><br>
2364
-
2365
-
2366
-
2367
-
2368
-
2369
- </td>
2370
-
2371
-
2372
-
2373
- <td class="default">
2374
-
2375
- new Vector2(1,1)
2376
-
2377
- </td>
2378
-
2379
-
2380
- <td class="description last">Size of the tile</td>
2381
- </tr>
2382
-
2383
-
2384
-
2385
- <tr>
2386
-
2387
- <td class="name"><code>tileIndex</code></td>
2388
-
2389
-
2390
- <td class="type">
2391
-
2392
-
2393
- <span class="param-type">Number</span>
2394
-
2395
-
2396
-
2397
- </td>
2398
-
2399
-
2400
- <td class="attributes">
2401
-
2402
- &lt;optional><br>
2403
-
2404
-
2405
-
2406
-
2407
-
2408
- </td>
2409
-
2410
-
2411
-
2412
- <td class="default">
2413
-
2414
- -1
2415
-
2416
- </td>
2417
-
2418
-
2419
- <td class="description last">Tile index to use, negative is untextured</td>
2420
- </tr>
2421
-
2422
-
2423
-
2424
- <tr>
2425
-
2426
- <td class="name"><code>tileSize</code></td>
2427
-
2428
-
2429
- <td class="type">
2430
-
2431
-
2432
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2433
-
2434
-
2435
-
2436
- </td>
2437
-
2438
-
2439
- <td class="attributes">
2440
-
2441
- &lt;optional><br>
2442
-
2443
-
2444
-
2445
-
2446
-
2447
- </td>
2448
-
2449
-
2450
-
2451
- <td class="default">
2452
-
2453
- defaultTileSize
2454
-
2455
- </td>
2456
-
2457
-
2458
- <td class="description last">Tile size in source pixels</td>
2459
- </tr>
2460
-
2461
-
2462
-
2463
- <tr>
2464
-
2465
- <td class="name"><code>color</code></td>
2466
-
2467
-
2468
- <td class="type">
2469
-
2470
-
2471
- <span class="param-type"><a href="Color.html">Color</a></span>
2472
-
2473
-
2474
-
2475
- </td>
2476
-
2477
-
2478
- <td class="attributes">
2479
-
2480
- &lt;optional><br>
2481
-
2482
-
2483
-
2484
-
2485
-
2486
- </td>
2487
-
2488
-
2489
-
2490
- <td class="default">
2491
-
2492
- new Color(1,1,1)
2493
-
2494
- </td>
2495
-
2496
-
2497
- <td class="description last"></td>
2498
- </tr>
2499
-
2500
-
2501
-
2502
- <tr>
2503
-
2504
- <td class="name"><code>angle</code></td>
2505
-
2506
-
2507
- <td class="type">
2508
-
2509
-
2510
- <span class="param-type">Number</span>
2511
-
2512
-
2513
-
2514
- </td>
2515
-
2516
-
2517
- <td class="attributes">
2518
-
2519
- &lt;optional><br>
2520
-
2521
-
2522
-
2523
-
2524
-
2525
- </td>
2526
-
2527
-
2528
-
2529
- <td class="default">
2530
-
2531
- 0
2532
-
2533
- </td>
2534
-
2535
-
2536
- <td class="description last"></td>
2537
- </tr>
2538
-
2539
-
2540
-
2541
- <tr>
2542
-
2543
- <td class="name"><code>mirror</code></td>
2544
-
2545
-
2546
- <td class="type">
2547
-
2548
-
2549
- <span class="param-type">Boolean</span>
2550
-
2551
-
2552
-
2553
- </td>
2554
-
2555
-
2556
- <td class="attributes">
2557
-
2558
- &lt;optional><br>
2559
-
2560
-
2561
-
2562
-
2563
-
2564
- </td>
2565
-
2566
-
2567
-
2568
- <td class="default">
2569
-
2570
- 0
2571
-
2572
- </td>
2573
-
2574
-
2575
- <td class="description last"></td>
2576
- </tr>
2577
-
2578
-
2579
-
2580
- <tr>
2581
-
2582
- <td class="name"><code>additiveColor</code></td>
2583
-
2584
-
2585
- <td class="type">
2586
-
2587
-
2588
- <span class="param-type"><a href="Color.html">Color</a></span>
2589
-
2590
-
2591
-
2592
- </td>
2593
-
2594
-
2595
- <td class="attributes">
2596
-
2597
- &lt;optional><br>
2598
-
2599
-
2600
-
2601
-
2602
-
2603
- </td>
2604
-
2605
-
2606
-
2607
- <td class="default">
2608
-
2609
- new Color(0,0,0,0)
2610
-
2611
- </td>
2612
-
2613
-
2614
- <td class="description last"></td>
2615
- </tr>
2616
-
2617
-
2618
- </tbody>
2619
- </table>
2620
-
2621
- </div>
2622
-
2623
-
2624
-
2625
-
2626
-
2627
-
2628
-
2629
- <dl class="details">
2630
-
2631
-
2632
-
2633
-
2634
-
2635
-
2636
-
2637
-
2638
-
2639
-
2640
-
2641
-
2642
-
2643
-
2644
-
2645
-
2646
-
2647
-
2648
-
2649
-
2650
-
2651
-
2652
-
2653
-
2654
-
2655
-
2656
- <div class="details-item-container">
2657
- <dt class="tag-source">Source:</dt>
2658
- <dd class="tag-source"><ul class="dummy"><li>
2659
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line66">line 66</a>
2660
- </li></ul></dd>
2661
- </div>
2662
-
2663
-
2664
-
2665
-
2666
-
2667
-
2668
-
2669
- </dl>
2670
-
2671
-
2672
-
2673
-
2674
-
2675
-
2676
-
2677
-
2678
-
2679
-
2680
-
2681
-
2682
-
2683
-
2684
-
2685
-
2686
-
2687
-
2688
-
2689
-
2690
-
2691
-
2692
-
2693
- <h4 class="name" id=".drawTileScreenSpace">
2694
- <a href="#.drawTileScreenSpace">#</a>
2695
- <span class="type-signature">(static) </span>drawTileScreenSpace<span class="signature">(pos, size<span class="signature-attributes">opt</span>, tileIndex<span class="signature-attributes">opt</span>, tileSize<span class="signature-attributes">opt</span>, color<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>, mirror<span class="signature-attributes">opt</span>, additiveColor<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
2696
- </h4>
2697
-
2698
-
2699
-
2700
-
2701
-
2702
- <div class="description">
2703
- Draw textured tile centered on pos in screen space
2704
- </div>
2705
-
2706
-
2707
-
2708
-
2709
-
2710
-
2711
-
2712
-
2713
-
2714
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2715
- <strong>Parameters:</strong>
2716
-
2717
-
2718
- <table class="params">
2719
- <thead>
2720
- <tr>
2721
-
2722
- <th>Name</th>
2723
-
2724
-
2725
- <th>Type</th>
2726
-
2727
-
2728
- <th>Attributes</th>
2729
-
2730
-
2731
-
2732
- <th>Default</th>
2733
-
2734
-
2735
- <th class="last">Description</th>
2736
- </tr>
2737
- </thead>
2738
-
2739
- <tbody>
2740
-
2741
-
2742
- <tr>
2743
-
2744
- <td class="name"><code>pos</code></td>
2745
-
2746
-
2747
- <td class="type">
2748
-
2749
-
2750
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2751
-
2752
-
2753
-
2754
- </td>
2755
-
2756
-
2757
- <td class="attributes">
2758
-
2759
-
2760
-
2761
-
2762
-
2763
- </td>
2764
-
2765
-
2766
-
2767
- <td class="default">
2768
-
2769
- </td>
2770
-
2771
-
2772
- <td class="description last">Center of the tile</td>
2773
- </tr>
2774
-
2775
-
2776
-
2777
- <tr>
2778
-
2779
- <td class="name"><code>size</code></td>
2780
-
2781
-
2782
- <td class="type">
2783
-
2784
-
2785
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2786
-
2787
-
2788
-
2789
- </td>
2790
-
2791
-
2792
- <td class="attributes">
2793
-
2794
- &lt;optional><br>
2795
-
2796
-
2797
-
2798
-
2799
-
2800
- </td>
2801
-
2802
-
2803
-
2804
- <td class="default">
2805
-
2806
- new Vector2(1,1)
2807
-
2808
- </td>
2809
-
2810
-
2811
- <td class="description last">Size of the tile</td>
2812
- </tr>
2813
-
2814
-
2815
-
2816
- <tr>
2817
-
2818
- <td class="name"><code>tileIndex</code></td>
2819
-
2820
-
2821
- <td class="type">
2822
-
2823
-
2824
- <span class="param-type">Number</span>
2825
-
2826
-
2827
-
2828
- </td>
2829
-
2830
-
2831
- <td class="attributes">
2832
-
2833
- &lt;optional><br>
2834
-
2835
-
2836
-
2837
-
2838
-
2839
- </td>
2840
-
2841
-
2842
-
2843
- <td class="default">
2844
-
2845
- -1
2846
-
2847
- </td>
2848
-
2849
-
2850
- <td class="description last">Tile index to use, negative is untextured</td>
2851
- </tr>
2852
-
2853
-
2854
-
2855
- <tr>
2856
-
2857
- <td class="name"><code>tileSize</code></td>
2858
-
2859
-
2860
- <td class="type">
2861
-
2862
-
2863
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2864
-
2865
-
2866
-
2867
- </td>
2868
-
2869
-
2870
- <td class="attributes">
2871
-
2872
- &lt;optional><br>
2873
-
2874
-
2875
-
2876
-
2877
-
2878
- </td>
2879
-
2880
-
2881
-
2882
- <td class="default">
2883
-
2884
- defaultTileSize
2885
-
2886
- </td>
2887
-
2888
-
2889
- <td class="description last">Tile size in source pixels</td>
2890
- </tr>
2891
-
2892
-
2893
-
2894
- <tr>
2895
-
2896
- <td class="name"><code>color</code></td>
2897
-
2898
-
2899
- <td class="type">
2900
-
2901
-
2902
- <span class="param-type"><a href="Color.html">Color</a></span>
2903
-
2904
-
2905
-
2906
- </td>
2907
-
2908
-
2909
- <td class="attributes">
2910
-
2911
- &lt;optional><br>
2912
-
2913
-
2914
-
2915
-
2916
-
2917
- </td>
2918
-
2919
-
2920
-
2921
- <td class="default">
2922
-
2923
- new Color
2924
-
2925
- </td>
2926
-
2927
-
2928
- <td class="description last"></td>
2929
- </tr>
2930
-
2931
-
2932
-
2933
- <tr>
2934
-
2935
- <td class="name"><code>angle</code></td>
2936
-
2937
-
2938
- <td class="type">
2939
-
2940
-
2941
- <span class="param-type">Number</span>
2942
-
2943
-
2944
-
2945
- </td>
2946
-
2947
-
2948
- <td class="attributes">
2949
-
2950
- &lt;optional><br>
2951
-
2952
-
2953
-
2954
-
2955
-
2956
- </td>
2957
-
2958
-
2959
-
2960
- <td class="default">
2961
-
2962
- 0
2963
-
2964
- </td>
2965
-
2966
-
2967
- <td class="description last"></td>
2968
- </tr>
2969
-
2970
-
2971
-
2972
- <tr>
2973
-
2974
- <td class="name"><code>mirror</code></td>
2975
-
2976
-
2977
- <td class="type">
2978
-
2979
-
2980
- <span class="param-type">Boolean</span>
2981
-
2982
-
2983
-
2984
- </td>
2985
-
2986
-
2987
- <td class="attributes">
2988
-
2989
- &lt;optional><br>
2990
-
2991
-
2992
-
2993
-
2994
-
2995
- </td>
2996
-
2997
-
2998
-
2999
- <td class="default">
3000
-
3001
- 0
3002
-
3003
- </td>
3004
-
3005
-
3006
- <td class="description last"></td>
3007
- </tr>
3008
-
3009
-
3010
-
3011
- <tr>
3012
-
3013
- <td class="name"><code>additiveColor</code></td>
3014
-
3015
-
3016
- <td class="type">
3017
-
3018
-
3019
- <span class="param-type"><a href="Color.html">Color</a></span>
3020
-
3021
-
3022
-
3023
- </td>
3024
-
3025
-
3026
- <td class="attributes">
3027
-
3028
- &lt;optional><br>
3029
-
3030
-
3031
-
3032
-
3033
-
3034
- </td>
3035
-
3036
-
3037
-
3038
- <td class="default">
3039
-
3040
- new Color(0,0,0,0)
3041
-
3042
- </td>
3043
-
3044
-
3045
- <td class="description last"></td>
3046
- </tr>
3047
-
3048
-
3049
- </tbody>
3050
- </table>
3051
-
3052
- </div>
3053
-
3054
-
3055
-
3056
-
3057
-
3058
-
3059
-
3060
- <dl class="details">
3061
-
3062
-
3063
-
3064
-
3065
-
3066
-
3067
-
3068
-
3069
-
3070
-
3071
-
3072
-
3073
-
3074
-
3075
-
3076
-
3077
-
3078
-
3079
-
3080
-
3081
-
3082
-
3083
-
3084
-
3085
-
3086
-
3087
- <div class="details-item-container">
3088
- <dt class="tag-source">Source:</dt>
3089
- <dd class="tag-source"><ul class="dummy"><li>
3090
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line142">line 142</a>
3091
- </li></ul></dd>
3092
- </div>
3093
-
3094
-
3095
-
3096
-
3097
-
3098
-
3099
-
3100
- </dl>
3101
-
3102
-
3103
-
3104
-
3105
-
3106
-
3107
-
3108
-
3109
-
3110
-
3111
-
3112
-
3113
-
3114
-
3115
-
3116
-
3117
-
3118
-
3119
-
3120
-
3121
-
3122
-
3123
-
3124
- <h4 class="name" id=".isFullscreen">
3125
- <a href="#.isFullscreen">#</a>
3126
- <span class="type-signature">(static) </span>isFullscreen<span class="signature">()</span><span class="type-signature"> &rarr; {Boolean}</span>
3127
- </h4>
3128
-
3129
-
3130
-
3131
-
3132
-
3133
- <div class="description">
3134
- Returns true if fullscreen mode is active
3135
- </div>
3136
-
3137
-
3138
-
3139
-
3140
-
3141
-
3142
-
3143
-
3144
-
3145
-
3146
-
3147
-
3148
-
3149
-
3150
-
3151
- <dl class="details">
3152
-
3153
-
3154
-
3155
-
3156
-
3157
-
3158
-
3159
-
3160
-
3161
-
3162
-
3163
-
3164
-
3165
-
3166
-
3167
-
3168
-
3169
-
3170
-
3171
-
3172
-
3173
-
3174
-
3175
-
3176
-
3177
-
3178
- <div class="details-item-container">
3179
- <dt class="tag-source">Source:</dt>
3180
- <dd class="tag-source"><ul class="dummy"><li>
3181
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line234">line 234</a>
3182
- </li></ul></dd>
3183
- </div>
3184
-
3185
-
3186
-
3187
-
3188
-
3189
-
3190
-
3191
- </dl>
3192
-
3193
-
3194
-
3195
-
3196
-
3197
-
3198
-
3199
-
3200
-
3201
-
3202
-
3203
-
3204
-
3205
-
3206
-
3207
- <div class="method-member-container mt-20">
3208
- <strong>Returns:</strong>
3209
-
3210
-
3211
-
3212
-
3213
- <dl class="param-type">
3214
- <dt>
3215
- Type
3216
- </dt>
3217
- <dd>
3218
-
3219
- <span class="param-type">Boolean</span>
3220
-
3221
-
3222
- </dd>
3223
- </dl>
3224
-
3225
-
3226
- </div>
3227
-
3228
-
3229
-
3230
-
3231
-
3232
-
3233
-
3234
-
3235
-
3236
- <h4 class="name" id=".screenToWorld">
3237
- <a href="#.screenToWorld">#</a>
3238
- <span class="type-signature">(static) </span>screenToWorld<span class="signature">(screenPos)</span><span class="type-signature"> &rarr; {<a href="Vector2.html">Vector2</a>}</span>
3239
- </h4>
3240
-
3241
-
3242
-
3243
-
3244
-
3245
- <div class="description">
3246
- Convert from screen to world space coordinates
3247
- </div>
3248
-
3249
-
3250
-
3251
-
3252
-
3253
-
3254
-
3255
-
3256
-
3257
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3258
- <strong>Parameters:</strong>
3259
-
3260
-
3261
- <table class="params">
3262
- <thead>
3263
- <tr>
3264
-
3265
- <th>Name</th>
3266
-
3267
-
3268
- <th>Type</th>
3269
-
3270
-
3271
-
3272
-
3273
-
3274
- <th class="last">Description</th>
3275
- </tr>
3276
- </thead>
3277
-
3278
- <tbody>
3279
-
3280
-
3281
- <tr>
3282
-
3283
- <td class="name"><code>screenPos</code></td>
3284
-
3285
-
3286
- <td class="type">
3287
-
3288
-
3289
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
3290
-
3291
-
3292
-
3293
- </td>
3294
-
3295
-
3296
-
3297
-
3298
-
3299
- <td class="description last"></td>
3300
- </tr>
3301
-
3302
-
3303
- </tbody>
3304
- </table>
3305
-
3306
- </div>
3307
-
3308
-
3309
-
3310
-
3311
-
3312
-
3313
-
3314
- <dl class="details">
3315
-
3316
-
3317
-
3318
-
3319
-
3320
-
3321
-
3322
-
3323
-
3324
-
3325
-
3326
-
3327
-
3328
-
3329
-
3330
-
3331
-
3332
-
3333
-
3334
-
3335
-
3336
-
3337
-
3338
-
3339
-
3340
-
3341
- <div class="details-item-container">
3342
- <dt class="tag-source">Source:</dt>
3343
- <dd class="tag-source"><ul class="dummy"><li>
3344
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line46">line 46</a>
3345
- </li></ul></dd>
3346
- </div>
3347
-
3348
-
3349
-
3350
-
3351
-
3352
-
3353
-
3354
- </dl>
3355
-
3356
-
3357
-
3358
-
3359
-
3360
-
3361
-
3362
-
3363
-
3364
-
3365
-
3366
-
3367
-
3368
-
3369
-
3370
- <div class="method-member-container mt-20">
3371
- <strong>Returns:</strong>
3372
-
3373
-
3374
-
3375
-
3376
- <dl class="param-type">
3377
- <dt>
3378
- Type
3379
- </dt>
3380
- <dd>
3381
-
3382
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
3383
-
3384
-
3385
- </dd>
3386
- </dl>
3387
-
3388
-
3389
- </div>
3390
-
3391
-
3392
-
3393
-
3394
-
3395
-
3396
-
3397
-
3398
-
3399
- <h4 class="name" id=".setBlendMode">
3400
- <a href="#.setBlendMode">#</a>
3401
- <span class="type-signature">(static) </span>setBlendMode<span class="signature">(additive<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
3402
- </h4>
3403
-
3404
-
3405
-
3406
-
3407
-
3408
- <div class="description">
3409
- Enable additive or regular blend mode
3410
- </div>
3411
-
3412
-
3413
-
3414
-
3415
-
3416
-
3417
-
3418
-
3419
-
3420
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3421
- <strong>Parameters:</strong>
3422
-
3423
-
3424
- <table class="params">
3425
- <thead>
3426
- <tr>
3427
-
3428
- <th>Name</th>
3429
-
3430
-
3431
- <th>Type</th>
3432
-
3433
-
3434
- <th>Attributes</th>
3435
-
3436
-
3437
-
3438
- <th>Default</th>
3439
-
3440
-
3441
- <th class="last">Description</th>
3442
- </tr>
3443
- </thead>
3444
-
3445
- <tbody>
3446
-
3447
-
3448
- <tr>
3449
-
3450
- <td class="name"><code>additive</code></td>
3451
-
3452
-
3453
- <td class="type">
3454
-
3455
-
3456
- <span class="param-type">Boolean</span>
3457
-
3458
-
3459
-
3460
- </td>
3461
-
3462
-
3463
- <td class="attributes">
3464
-
3465
- &lt;optional><br>
3466
-
3467
-
3468
-
3469
-
3470
-
3471
- </td>
3472
-
3473
-
3474
-
3475
- <td class="default">
3476
-
3477
- 0
3478
-
3479
- </td>
3480
-
3481
-
3482
- <td class="description last"></td>
3483
- </tr>
3484
-
3485
-
3486
- </tbody>
3487
- </table>
3488
-
3489
- </div>
3490
-
3491
-
3492
-
3493
-
3494
-
3495
-
3496
-
3497
- <dl class="details">
3498
-
3499
-
3500
-
3501
-
3502
-
3503
-
3504
-
3505
-
3506
-
3507
-
3508
-
3509
-
3510
-
3511
-
3512
-
3513
-
3514
-
3515
-
3516
-
3517
-
3518
-
3519
-
3520
-
3521
-
3522
-
3523
-
3524
- <div class="details-item-container">
3525
- <dt class="tag-source">Source:</dt>
3526
- <dd class="tag-source"><ul class="dummy"><li>
3527
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line220">line 220</a>
3528
- </li></ul></dd>
3529
- </div>
3530
-
3531
-
3532
-
3533
-
3534
-
3535
-
3536
-
3537
- </dl>
3538
-
3539
-
3540
-
3541
-
3542
-
3543
-
3544
-
3545
-
3546
-
3547
-
3548
-
3549
-
3550
-
3551
-
3552
-
3553
-
3554
-
3555
-
3556
-
3557
-
3558
-
3559
-
3560
-
3561
- <h4 class="name" id=".toggleFullscreen">
3562
- <a href="#.toggleFullscreen">#</a>
3563
- <span class="type-signature">(static) </span>toggleFullscreen<span class="signature">()</span><span class="type-signature"></span>
3564
- </h4>
3565
-
3566
-
3567
-
3568
-
3569
-
3570
- <div class="description">
3571
- Toggle fullsceen mode
3572
- </div>
3573
-
3574
-
3575
-
3576
-
3577
-
3578
-
3579
-
3580
-
3581
-
3582
-
3583
-
3584
-
3585
-
3586
-
3587
-
3588
- <dl class="details">
3589
-
3590
-
3591
-
3592
-
3593
-
3594
-
3595
-
3596
-
3597
-
3598
-
3599
-
3600
-
3601
-
3602
-
3603
-
3604
-
3605
-
3606
-
3607
-
3608
-
3609
-
3610
-
3611
-
3612
-
3613
-
3614
-
3615
- <div class="details-item-container">
3616
- <dt class="tag-source">Source:</dt>
3617
- <dd class="tag-source"><ul class="dummy"><li>
3618
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line238">line 238</a>
3619
- </li></ul></dd>
3620
- </div>
3621
-
3622
-
3623
-
3624
-
3625
-
3626
-
3627
-
3628
- </dl>
3629
-
3630
-
3631
-
3632
-
3633
-
3634
-
3635
-
3636
-
3637
-
3638
-
3639
-
3640
-
3641
-
3642
-
3643
-
3644
-
3645
-
3646
-
3647
-
3648
-
3649
-
3650
-
3651
-
3652
- <h4 class="name" id=".worldToScreen">
3653
- <a href="#.worldToScreen">#</a>
3654
- <span class="type-signature">(static) </span>worldToScreen<span class="signature">(worldPos)</span><span class="type-signature"> &rarr; {<a href="Vector2.html">Vector2</a>}</span>
3655
- </h4>
3656
-
3657
-
3658
-
3659
-
3660
-
3661
- <div class="description">
3662
- Convert from world to screen space coordinates
3663
- </div>
3664
-
3665
-
3666
-
3667
-
3668
-
3669
-
3670
-
3671
-
3672
-
3673
- <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3674
- <strong>Parameters:</strong>
3675
-
3676
-
3677
- <table class="params">
3678
- <thead>
3679
- <tr>
3680
-
3681
- <th>Name</th>
3682
-
3683
-
3684
- <th>Type</th>
3685
-
3686
-
3687
-
3688
-
3689
-
3690
- <th class="last">Description</th>
3691
- </tr>
3692
- </thead>
3693
-
3694
- <tbody>
3695
-
3696
-
3697
- <tr>
3698
-
3699
- <td class="name"><code>worldPos</code></td>
3700
-
3701
-
3702
- <td class="type">
3703
-
3704
-
3705
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
3706
-
3707
-
3708
-
3709
- </td>
3710
-
3711
-
3712
-
3713
-
3714
-
3715
- <td class="description last"></td>
3716
- </tr>
3717
-
3718
-
3719
- </tbody>
3720
- </table>
3721
-
3722
- </div>
3723
-
3724
-
3725
-
3726
-
3727
-
3728
-
3729
-
3730
- <dl class="details">
3731
-
3732
-
3733
-
3734
-
3735
-
3736
-
3737
-
3738
-
3739
-
3740
-
3741
-
3742
-
3743
-
3744
-
3745
-
3746
-
3747
-
3748
-
3749
-
3750
-
3751
-
3752
-
3753
-
3754
-
3755
-
3756
-
3757
- <div class="details-item-container">
3758
- <dt class="tag-source">Source:</dt>
3759
- <dd class="tag-source"><ul class="dummy"><li>
3760
- <a href="engineDraw.js.html">engineDraw.js</a>, <a href="engineDraw.js.html#line53">line 53</a>
3761
- </li></ul></dd>
3762
- </div>
3763
-
3764
-
3765
-
3766
-
3767
-
3768
-
3769
-
3770
- </dl>
3771
-
3772
-
3773
-
3774
-
3775
-
3776
-
3777
-
3778
-
3779
-
3780
-
3781
-
3782
-
3783
-
3784
-
3785
-
3786
- <div class="method-member-container mt-20">
3787
- <strong>Returns:</strong>
3788
-
3789
-
3790
-
3791
-
3792
- <dl class="param-type">
3793
- <dt>
3794
- Type
3795
- </dt>
3796
- <dd>
3797
-
3798
- <span class="param-type"><a href="Vector2.html">Vector2</a></span>
3799
-
3800
-
3801
- </dd>
3802
- </dl>
3803
-
3804
-
3805
- </div>
3806
-
3807
-
3808
-
3809
-
3810
-
3811
-
3812
-
3813
-
3814
-
3815
-
3816
- </article>
3817
-
3818
- </section>
3819
-
3820
-
3821
-
3822
-
3823
- </div>
3824
-
3825
- <footer class="footer" id="footer">
3826
- <a href=https://github.com/KilledByAPixel/LittleJS>LittleJS - MIT License - Copyright 2021 Frank Force</a>
3827
- </footer>
3828
-
3829
- <script src="scripts/third-party/prettify.js"></script>
3830
- <script src="scripts/third-party/lang-css.js"></script>
3831
- <script type="text/javascript" src="scripts/misc.js"></script>
3832
-
3833
- <script>prettyPrint();</script>
3834
- <script src="scripts/linenumber.js"></script>
3835
- <script src="scripts/fix-code-block.js"></script>
3836
- <script src="scripts/fix-navbar.js"></script>
3837
-
3838
- <script src="scripts/search.js"></script>
3839
- <script src="scripts/third-party/fuse.js"></script>
3840
- <script>
3841
- 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>"}];
3842
- var options =
3843
- setupSearch(list, options)
3844
- </script>
3845
-
3846
-
3847
-
3848
-
3849
-
3850
-
3851
-
3852
-
3853
-
3854
-
3855
-
3856
- </body>
3857
-
3858
- </html>