littlejsengine 1.1.6 → 1.1.8

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 (85) hide show
  1. package/docs/Audio.html +2268 -0
  2. package/docs/Color.html +2989 -0
  3. package/docs/Debug.html +2933 -0
  4. package/docs/Draw.html +4092 -0
  5. package/docs/EngineObject.html +4458 -0
  6. package/docs/Input.html +2482 -0
  7. package/docs/Medal.html +1007 -0
  8. package/docs/Medals.html +628 -0
  9. package/docs/Music.html +584 -0
  10. package/docs/Newgrounds.html +1399 -0
  11. package/docs/Particle.html +4535 -0
  12. package/docs/ParticleEmitter.html +7770 -0
  13. package/docs/Random.html +1774 -0
  14. package/docs/Settings.html +2679 -0
  15. package/docs/Sound.html +1249 -0
  16. package/docs/TileCollision.html +1409 -0
  17. package/docs/TileLayer.html +6948 -0
  18. package/docs/TileLayerData.html +1052 -0
  19. package/docs/Timer.html +1183 -0
  20. package/docs/Utilities.html +3281 -0
  21. package/docs/Vector2.html +4207 -0
  22. package/docs/WebGL.html +2327 -0
  23. package/docs/engine.js.html +429 -0
  24. package/docs/engineAudio.js.html +609 -0
  25. package/docs/engineDebug.js.html +725 -0
  26. package/docs/engineDraw.js.html +419 -0
  27. package/docs/engineInput.js.html +401 -0
  28. package/docs/engineMedals.js.html +461 -0
  29. package/docs/engineObject.js.html +518 -0
  30. package/docs/engineParticles.js.html +441 -0
  31. package/docs/engineSettings.js.html +349 -0
  32. package/docs/engineTileLayer.js.html +513 -0
  33. package/docs/engineUtilities.js.html +647 -0
  34. package/docs/engineWebGL.js.html +522 -0
  35. package/docs/fonts/MavenPro-Regular.ttf +0 -0
  36. package/docs/fonts/Montserrat-Regular.ttf +0 -0
  37. package/docs/fonts/Muli-Black.ttf +0 -0
  38. package/docs/fonts/OFL-hind.txt +93 -0
  39. package/docs/fonts/OFL-montserrat.txt +93 -0
  40. package/docs/global.html +1691 -0
  41. package/docs/index.css +6 -0
  42. package/docs/index.html +247 -0
  43. package/docs/scripts/fix-code-block.js +53 -0
  44. package/docs/scripts/fix-navbar.js +25 -0
  45. package/docs/scripts/linenumber.js +25 -0
  46. package/docs/scripts/misc.js +217 -0
  47. package/docs/scripts/resize.js +85 -0
  48. package/docs/scripts/search.js +83 -0
  49. package/docs/scripts/third-party/Apache-License-2.0.txt +202 -0
  50. package/docs/scripts/third-party/fuse.js +9 -0
  51. package/docs/scripts/third-party/lang-css.js +2 -0
  52. package/docs/scripts/third-party/prettify.js +28 -0
  53. package/docs/static/favicon.png +0 -0
  54. package/docs/static/index.css +4 -0
  55. package/docs/styles/clean-jsdoc-theme-base.css +393 -0
  56. package/docs/styles/clean-jsdoc-theme-dark.css +324 -0
  57. package/docs/styles/clean-jsdoc-theme-light.css +319 -0
  58. package/docs/styles/reset.css +346 -0
  59. package/docs/styles/third-party/ionicons.min.css +11 -0
  60. package/docs/styles/third-party/prettify-jsdoc.css +111 -0
  61. package/docs/styles/third-party/prettify-tomorrow.css +5 -0
  62. package/engine/engine.all.js +94 -110
  63. package/engine/engine.all.min.js +1 -1
  64. package/engine/engine.all.release.js +94 -110
  65. package/engine/engine.js +14 -17
  66. package/engine/engineAudio.js +7 -7
  67. package/engine/engineDraw.js +6 -6
  68. package/engine/engineInput.js +7 -7
  69. package/engine/engineMedals.js +3 -3
  70. package/engine/engineObject.js +15 -15
  71. package/engine/engineParticles.js +3 -3
  72. package/engine/engineSettings.js +30 -43
  73. package/engine/engineTileLayer.js +5 -5
  74. package/engine/engineUtilities.js +4 -4
  75. package/examples/breakout/game.js +1 -1
  76. package/examples/breakout/gameObjects.js +1 -1
  77. package/examples/breakout/index.html +3 -3
  78. package/examples/platformer/gameObjects.js +1 -1
  79. package/examples/platformer/gamePlayer.js +1 -1
  80. package/examples/platformer/index.html +6 -6
  81. package/examples/puzzle/game.js +1 -1
  82. package/examples/puzzle/index.html +2 -2
  83. package/examples/stress/index.html +1 -1
  84. package/index.html +13 -13
  85. package/package.json +1 -1
@@ -0,0 +1,4535 @@
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
+ Particle
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
+ <style>
49
+ .prettyprint code {font-family:monospace}
50
+ </style>
51
+
52
+ <svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
53
+ style="display:none">
54
+ <defs>
55
+ <symbol id="copy-icon" viewbox="0 0 488.3 488.3">
56
+ <g>
57
+ <path
58
+ 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" />
59
+ <path
60
+ 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" />
61
+ </g>
62
+ </symbol>
63
+ <symbol id='search-icon' viewBox="0 0 512 512">
64
+ <g>
65
+ <g>
66
+ <path
67
+ 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" />
68
+ </g>
69
+ </g>
70
+ <g>
71
+ <g>
72
+ <path
73
+ 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" />
74
+ </g>
75
+ </g>
76
+ </symbol>
77
+ <symbol id="down-icon" viewBox="0 0 16 16">
78
+ <path
79
+ fill-rule="evenodd"
80
+ clip-rule="evenodd"
81
+ 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"
82
+ >
83
+ </path>
84
+ </symbol>
85
+ </defs>
86
+ </svg>
87
+ </head>
88
+
89
+ <body>
90
+
91
+ <nav class="navbar" id="navbar">
92
+ <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="3026681" > <h3 class="accordion-heading">Classes<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion collapsed child" id=864267><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=3569399><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=2970668><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=2533015><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=5490011><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=5370538><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#addChild">addChild</a></li><li data-type='method'><a href="Particle.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="Particle.html#applyForce">applyForce</a></li><li data-type='method'><a href="Particle.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="Particle.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="Particle.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="Particle.html#destroy">destroy</a></li><li data-type='method'><a href="Particle.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="Particle.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="Particle.html#removeChild">removeChild</a></li><li data-type='method'><a href="Particle.html#render">render</a></li><li data-type='method'><a href="Particle.html#setCollision">setCollision</a></li><li data-type='method'><a href="Particle.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=4983401><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#addChild">addChild</a></li><li data-type='method'><a href="ParticleEmitter.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="ParticleEmitter.html#applyForce">applyForce</a></li><li data-type='method'><a href="ParticleEmitter.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="ParticleEmitter.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="ParticleEmitter.html#collideWithTileRaycast">collideWithTileRaycast</a></li><li data-type='method'><a href="ParticleEmitter.html#destroy">destroy</a></li><li data-type='method'><a href="ParticleEmitter.html#emitParticle">emitParticle</a></li><li data-type='method'><a href="ParticleEmitter.html#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="ParticleEmitter.html#getMirrorSign">getMirrorSign</a></li><li data-type='method'><a href="ParticleEmitter.html#removeChild">removeChild</a></li><li data-type='method'><a href="ParticleEmitter.html#render">render</a></li><li data-type='method'><a href="ParticleEmitter.html#setCollision">setCollision</a></li><li data-type='method'><a href="ParticleEmitter.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=4102019><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=3455641><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#addChild">addChild</a></li><li data-type='method'><a href="TileLayer.html#applyAcceleration">applyAcceleration</a></li><li data-type='method'><a href="TileLayer.html#applyForce">applyForce</a></li><li data-type='method'><a href="TileLayer.html#collideWithObject">collideWithObject</a></li><li data-type='method'><a href="TileLayer.html#collideWithTile">collideWithTile</a></li><li data-type='method'><a href="TileLayer.html#collideWithTileRaycast">collideWithTileRaycast</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#getAliveTime">getAliveTime</a></li><li data-type='method'><a href="TileLayer.html#getData">getData</a></li><li data-type='method'><a href="TileLayer.html#getMirrorSign">getMirrorSign</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#removeChild">removeChild</a></li><li data-type='method'><a href="TileLayer.html#render">render</a></li><li data-type='method'><a href="TileLayer.html#setCollision">setCollision</a></li><li data-type='method'><a href="TileLayer.html#setData">setData</a></li><li data-type='method'><a href="TileLayer.html#update">update</a></li></ul></li><li class="accordion collapsed child" id=1570904><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=3515045><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=7852068><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="813939" > <h3 class="accordion-heading">Namespaces<svg><use xlink:href="#down-icon"></use></svg></h3><ul class="accordion-content"><li class="accordion collapsed child" id=2717358><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=8015982><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=3886530><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=2344392><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=4725200><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=7676165><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=2840044><div class="accordion-heading child"><a href="TileCollision.html">TileCollision</a><svg><use xlink:href="#down-icon"></use></svg></div><ul class='methods accordion-content'><li data-type='method'><a href="TileCollision.html#.getTileCollisionData">getTileCollisionData</a></li><li data-type='method'><a href="TileCollision.html#.initTileCollision">initTileCollision</a></li><li data-type='method'><a href="TileCollision.html#.setTileCollisionData">setTileCollisionData</a></li><li data-type='method'><a href="TileCollision.html#.tileCollisionRaycast">tileCollisionRaycast</a></li><li data-type='method'><a href="TileCollision.html#.tileCollisionTest">tileCollisionTest</a></li></ul></li><li class="accordion collapsed child" id=6238309><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=6305592><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#.glDraw">glDraw</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="9475387" > <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>
93
+
94
+
95
+ </nav>
96
+ <div class="navbar-ham" id="navbar-ham">
97
+ <div>
98
+ <div class="first"></div>
99
+ <div class="second"></div>
100
+ <div class="third"></div>
101
+ </div>
102
+ </div>
103
+
104
+ <div id="main" class="main-content">
105
+
106
+ <h1 id='page-title' class="page-title">
107
+ Particle
108
+ </h1>
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <section>
117
+
118
+
119
+ <header>
120
+
121
+
122
+ <h2>
123
+
124
+ Particle
125
+
126
+ </h2>
127
+
128
+
129
+ <div class="class-description">Particle Object - Created automatically by Particle Emitters</div>
130
+
131
+
132
+ </header>
133
+
134
+
135
+ <article>
136
+ <div class="container-overview">
137
+
138
+
139
+
140
+
141
+ <h2>Constructor</h2>
142
+
143
+
144
+ <h4 class="name" id="Particle">
145
+ <a href="#Particle">#</a>
146
+ <span class="type-signature"></span>new Particle<span class="signature">(position, tileIndex<span class="signature-attributes">opt</span>, tileSize<span class="signature-attributes">opt</span>, angle<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
147
+ </h4>
148
+
149
+
150
+
151
+
152
+
153
+ <div class="description">
154
+ Create a particle with the given settings
155
+ </div>
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
166
+ <strong>Parameters:</strong>
167
+
168
+
169
+ <table class="params">
170
+ <thead>
171
+ <tr>
172
+
173
+ <th>Name</th>
174
+
175
+
176
+ <th>Type</th>
177
+
178
+
179
+ <th>Attributes</th>
180
+
181
+
182
+
183
+ <th>Default</th>
184
+
185
+
186
+ <th class="last">Description</th>
187
+ </tr>
188
+ </thead>
189
+
190
+ <tbody>
191
+
192
+
193
+ <tr>
194
+
195
+ <td class="name"><code>position</code></td>
196
+
197
+
198
+ <td class="type">
199
+
200
+
201
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
202
+
203
+
204
+
205
+ </td>
206
+
207
+
208
+ <td class="attributes">
209
+
210
+
211
+
212
+
213
+
214
+ </td>
215
+
216
+
217
+
218
+ <td class="default">
219
+
220
+ </td>
221
+
222
+
223
+ <td class="description last">World space position of the particle</td>
224
+ </tr>
225
+
226
+
227
+
228
+ <tr>
229
+
230
+ <td class="name"><code>tileIndex</code></td>
231
+
232
+
233
+ <td class="type">
234
+
235
+
236
+ <span class="param-type">Number</span>
237
+
238
+
239
+
240
+ </td>
241
+
242
+
243
+ <td class="attributes">
244
+
245
+ &lt;optional><br>
246
+
247
+
248
+
249
+
250
+
251
+ </td>
252
+
253
+
254
+
255
+ <td class="default">
256
+
257
+ -1
258
+
259
+ </td>
260
+
261
+
262
+ <td class="description last">Tile to use to render, untextured if -1</td>
263
+ </tr>
264
+
265
+
266
+
267
+ <tr>
268
+
269
+ <td class="name"><code>tileSize</code></td>
270
+
271
+
272
+ <td class="type">
273
+
274
+
275
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
276
+
277
+
278
+
279
+ </td>
280
+
281
+
282
+ <td class="attributes">
283
+
284
+ &lt;optional><br>
285
+
286
+
287
+
288
+
289
+
290
+ </td>
291
+
292
+
293
+
294
+ <td class="default">
295
+
296
+ tileSizeDefault
297
+
298
+ </td>
299
+
300
+
301
+ <td class="description last">Size of tile in source pixels</td>
302
+ </tr>
303
+
304
+
305
+
306
+ <tr>
307
+
308
+ <td class="name"><code>angle</code></td>
309
+
310
+
311
+ <td class="type">
312
+
313
+
314
+ <span class="param-type">Number</span>
315
+
316
+
317
+
318
+ </td>
319
+
320
+
321
+ <td class="attributes">
322
+
323
+ &lt;optional><br>
324
+
325
+
326
+
327
+
328
+
329
+ </td>
330
+
331
+
332
+
333
+ <td class="default">
334
+
335
+ 0
336
+
337
+ </td>
338
+
339
+
340
+ <td class="description last">Angle to rotate the particle</td>
341
+ </tr>
342
+
343
+
344
+ </tbody>
345
+ </table>
346
+
347
+ </div>
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+ <dl class="details">
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ <div class="details-item-container">
383
+ <dt class="tag-source">Source:</dt>
384
+ <dd class="tag-source"><ul class="dummy"><li>
385
+ <a href="engineParticles.js.html">engineParticles.js</a>, <a href="engineParticles.js.html#line230">line 230</a>
386
+ </li></ul></dd>
387
+ </div>
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+ </dl>
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+
414
+
415
+ </div>
416
+
417
+
418
+ <h3 class="subsection-title">Extends</h3>
419
+
420
+
421
+
422
+
423
+ <ul>
424
+ <li><a href="EngineObject.html">EngineObject</a></li>
425
+ </ul>
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+ <h3 class="subsection-title">Members</h3>
440
+
441
+
442
+
443
+ <h4 class="name" id="additiveColor">
444
+ <a href="#additiveColor">#</a>
445
+ <span class="type-signature"></span>additiveColor<span class="type-signature"></span>
446
+ </h4>
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+ <h5 class="subsection-title">Properties</h5>
459
+
460
+
461
+ <div class="allow-overflow">
462
+ <table class="props">
463
+ <thead>
464
+ <tr>
465
+
466
+
467
+ <th>Type</th>
468
+
469
+
470
+
471
+
472
+
473
+ <th class="last">Description</th>
474
+ </tr>
475
+ </thead>
476
+
477
+ <tbody>
478
+
479
+
480
+ <tr>
481
+
482
+
483
+ <td class="type">
484
+
485
+
486
+ <span class="param-type"><a href="Color.html">Color</a></span>
487
+
488
+
489
+
490
+ </td>
491
+
492
+
493
+
494
+
495
+
496
+ <td class="description last">Additive color to apply when rendered</td>
497
+ </tr>
498
+
499
+
500
+ </tbody>
501
+ </table>
502
+ </div>
503
+
504
+
505
+
506
+
507
+
508
+ <dl class="details">
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+ <div class="details-item-container">
518
+ <dt class="tag-overrides">Overrides:</dt>
519
+ <dd class="tag-overrides"><ul class="dummy"><li>
520
+ <a href="EngineObject.html#additiveColor">EngineObject#additiveColor</a>
521
+ </li></ul></dd>
522
+ </div>
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+ <div class="details-item-container">
543
+ <dt class="tag-source">Source:</dt>
544
+ <dd class="tag-source"><ul class="dummy"><li>
545
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line55">line 55</a>
546
+ </li></ul></dd>
547
+ </div>
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+ </dl>
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+ <h4 class="name" id="angle">
567
+ <a href="#angle">#</a>
568
+ <span class="type-signature"></span>angle<span class="type-signature"></span>
569
+ </h4>
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+
581
+ <h5 class="subsection-title">Properties</h5>
582
+
583
+
584
+ <div class="allow-overflow">
585
+ <table class="props">
586
+ <thead>
587
+ <tr>
588
+
589
+
590
+ <th>Type</th>
591
+
592
+
593
+
594
+
595
+
596
+ <th class="last">Description</th>
597
+ </tr>
598
+ </thead>
599
+
600
+ <tbody>
601
+
602
+
603
+ <tr>
604
+
605
+
606
+ <td class="type">
607
+
608
+
609
+ <span class="param-type">Number</span>
610
+
611
+
612
+
613
+ </td>
614
+
615
+
616
+
617
+
618
+
619
+ <td class="description last">Angle to rotate the object</td>
620
+ </tr>
621
+
622
+
623
+ </tbody>
624
+ </table>
625
+ </div>
626
+
627
+
628
+
629
+
630
+
631
+ <dl class="details">
632
+
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+ <div class="details-item-container">
641
+ <dt class="tag-overrides">Overrides:</dt>
642
+ <dd class="tag-overrides"><ul class="dummy"><li>
643
+ <a href="EngineObject.html#angle">EngineObject#angle</a>
644
+ </li></ul></dd>
645
+ </div>
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+ <div class="details-item-container">
666
+ <dt class="tag-source">Source:</dt>
667
+ <dd class="tag-source"><ul class="dummy"><li>
668
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line51">line 51</a>
669
+ </li></ul></dd>
670
+ </div>
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+ </dl>
679
+
680
+
681
+
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+ <h4 class="name" id="angleDamping">
690
+ <a href="#angleDamping">#</a>
691
+ <span class="type-signature"></span>angleDamping<span class="type-signature"></span>
692
+ </h4>
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+ <h5 class="subsection-title">Properties</h5>
705
+
706
+
707
+ <div class="allow-overflow">
708
+ <table class="props">
709
+ <thead>
710
+ <tr>
711
+
712
+ <th>Name</th>
713
+
714
+
715
+ <th>Type</th>
716
+
717
+
718
+ <th>Attributes</th>
719
+
720
+
721
+
722
+ <th>Default</th>
723
+
724
+
725
+ <th class="last">Description</th>
726
+ </tr>
727
+ </thead>
728
+
729
+ <tbody>
730
+
731
+
732
+ <tr>
733
+
734
+ <td class="name"><code>angleDamping</code></td>
735
+
736
+
737
+ <td class="type">
738
+
739
+
740
+ <span class="param-type">Number</span>
741
+
742
+
743
+
744
+ </td>
745
+
746
+
747
+ <td class="attributes">
748
+
749
+ &lt;optional><br>
750
+
751
+
752
+
753
+ </td>
754
+
755
+
756
+
757
+ <td class="default">
758
+
759
+ objectDefaultAngleDamping
760
+
761
+ </td>
762
+
763
+
764
+ <td class="description last">How much to slow down rotation each frame (0-1)</td>
765
+ </tr>
766
+
767
+
768
+ </tbody>
769
+ </table>
770
+ </div>
771
+
772
+
773
+
774
+
775
+
776
+ <dl class="details">
777
+
778
+
779
+
780
+
781
+
782
+
783
+
784
+
785
+ <div class="details-item-container">
786
+ <dt class="tag-overrides">Overrides:</dt>
787
+ <dd class="tag-overrides"><ul class="dummy"><li>
788
+ <a href="EngineObject.html#angleDamping">EngineObject#angleDamping</a>
789
+ </li></ul></dd>
790
+ </div>
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+ <div class="details-item-container">
811
+ <dt class="tag-source">Source:</dt>
812
+ <dd class="tag-source"><ul class="dummy"><li>
813
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line63">line 63</a>
814
+ </li></ul></dd>
815
+ </div>
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+ </dl>
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+ <h4 class="name" id="color">
835
+ <a href="#color">#</a>
836
+ <span class="type-signature"></span>color<span class="type-signature"></span>
837
+ </h4>
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+ <h5 class="subsection-title">Properties</h5>
850
+
851
+
852
+ <div class="allow-overflow">
853
+ <table class="props">
854
+ <thead>
855
+ <tr>
856
+
857
+
858
+ <th>Type</th>
859
+
860
+
861
+
862
+
863
+
864
+ <th class="last">Description</th>
865
+ </tr>
866
+ </thead>
867
+
868
+ <tbody>
869
+
870
+
871
+ <tr>
872
+
873
+
874
+ <td class="type">
875
+
876
+
877
+ <span class="param-type"><a href="Color.html">Color</a></span>
878
+
879
+
880
+
881
+ </td>
882
+
883
+
884
+
885
+
886
+
887
+ <td class="description last">Color to apply when rendered</td>
888
+ </tr>
889
+
890
+
891
+ </tbody>
892
+ </table>
893
+ </div>
894
+
895
+
896
+
897
+
898
+
899
+ <dl class="details">
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+ <div class="details-item-container">
909
+ <dt class="tag-overrides">Overrides:</dt>
910
+ <dd class="tag-overrides"><ul class="dummy"><li>
911
+ <a href="EngineObject.html#color">EngineObject#color</a>
912
+ </li></ul></dd>
913
+ </div>
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
932
+
933
+ <div class="details-item-container">
934
+ <dt class="tag-source">Source:</dt>
935
+ <dd class="tag-source"><ul class="dummy"><li>
936
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line53">line 53</a>
937
+ </li></ul></dd>
938
+ </div>
939
+
940
+
941
+
942
+
943
+
944
+
945
+
946
+ </dl>
947
+
948
+
949
+
950
+
951
+
952
+
953
+
954
+
955
+
956
+
957
+ <h4 class="name" id="damping">
958
+ <a href="#damping">#</a>
959
+ <span class="type-signature"></span>damping<span class="type-signature"></span>
960
+ </h4>
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+ <h5 class="subsection-title">Properties</h5>
973
+
974
+
975
+ <div class="allow-overflow">
976
+ <table class="props">
977
+ <thead>
978
+ <tr>
979
+
980
+ <th>Name</th>
981
+
982
+
983
+ <th>Type</th>
984
+
985
+
986
+ <th>Attributes</th>
987
+
988
+
989
+
990
+ <th>Default</th>
991
+
992
+
993
+ <th class="last">Description</th>
994
+ </tr>
995
+ </thead>
996
+
997
+ <tbody>
998
+
999
+
1000
+ <tr>
1001
+
1002
+ <td class="name"><code>damping</code></td>
1003
+
1004
+
1005
+ <td class="type">
1006
+
1007
+
1008
+ <span class="param-type">Number</span>
1009
+
1010
+
1011
+
1012
+ </td>
1013
+
1014
+
1015
+ <td class="attributes">
1016
+
1017
+ &lt;optional><br>
1018
+
1019
+
1020
+
1021
+ </td>
1022
+
1023
+
1024
+
1025
+ <td class="default">
1026
+
1027
+ objectDefaultDamping
1028
+
1029
+ </td>
1030
+
1031
+
1032
+ <td class="description last">How much to slow down velocity each frame (0-1)</td>
1033
+ </tr>
1034
+
1035
+
1036
+ </tbody>
1037
+ </table>
1038
+ </div>
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+ <dl class="details">
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+ <div class="details-item-container">
1054
+ <dt class="tag-overrides">Overrides:</dt>
1055
+ <dd class="tag-overrides"><ul class="dummy"><li>
1056
+ <a href="EngineObject.html#damping">EngineObject#damping</a>
1057
+ </li></ul></dd>
1058
+ </div>
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+ <div class="details-item-container">
1079
+ <dt class="tag-source">Source:</dt>
1080
+ <dd class="tag-source"><ul class="dummy"><li>
1081
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line61">line 61</a>
1082
+ </li></ul></dd>
1083
+ </div>
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+ </dl>
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+ <h4 class="name" id="drawSize">
1103
+ <a href="#drawSize">#</a>
1104
+ <span class="type-signature"></span>drawSize<span class="type-signature"></span>
1105
+ </h4>
1106
+
1107
+
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+ <h5 class="subsection-title">Properties</h5>
1118
+
1119
+
1120
+ <div class="allow-overflow">
1121
+ <table class="props">
1122
+ <thead>
1123
+ <tr>
1124
+
1125
+
1126
+ <th>Type</th>
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+ <th class="last">Description</th>
1133
+ </tr>
1134
+ </thead>
1135
+
1136
+ <tbody>
1137
+
1138
+
1139
+ <tr>
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
+
1153
+
1154
+
1155
+ <td class="description last">Size of object used for drawing, uses size if not set</td>
1156
+ </tr>
1157
+
1158
+
1159
+ </tbody>
1160
+ </table>
1161
+ </div>
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+ <dl class="details">
1168
+
1169
+
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+ <div class="details-item-container">
1177
+ <dt class="tag-overrides">Overrides:</dt>
1178
+ <dd class="tag-overrides"><ul class="dummy"><li>
1179
+ <a href="EngineObject.html#drawSize">EngineObject#drawSize</a>
1180
+ </li></ul></dd>
1181
+ </div>
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+ <div class="details-item-container">
1202
+ <dt class="tag-source">Source:</dt>
1203
+ <dd class="tag-source"><ul class="dummy"><li>
1204
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line45">line 45</a>
1205
+ </li></ul></dd>
1206
+ </div>
1207
+
1208
+
1209
+
1210
+
1211
+
1212
+
1213
+
1214
+ </dl>
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+ <h4 class="name" id="elasticity">
1226
+ <a href="#elasticity">#</a>
1227
+ <span class="type-signature"></span>elasticity<span class="type-signature"></span>
1228
+ </h4>
1229
+
1230
+
1231
+
1232
+
1233
+
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+ <h5 class="subsection-title">Properties</h5>
1241
+
1242
+
1243
+ <div class="allow-overflow">
1244
+ <table class="props">
1245
+ <thead>
1246
+ <tr>
1247
+
1248
+ <th>Name</th>
1249
+
1250
+
1251
+ <th>Type</th>
1252
+
1253
+
1254
+ <th>Attributes</th>
1255
+
1256
+
1257
+
1258
+ <th>Default</th>
1259
+
1260
+
1261
+ <th class="last">Description</th>
1262
+ </tr>
1263
+ </thead>
1264
+
1265
+ <tbody>
1266
+
1267
+
1268
+ <tr>
1269
+
1270
+ <td class="name"><code>elasticity</code></td>
1271
+
1272
+
1273
+ <td class="type">
1274
+
1275
+
1276
+ <span class="param-type">Number</span>
1277
+
1278
+
1279
+
1280
+ </td>
1281
+
1282
+
1283
+ <td class="attributes">
1284
+
1285
+ &lt;optional><br>
1286
+
1287
+
1288
+
1289
+ </td>
1290
+
1291
+
1292
+
1293
+ <td class="default">
1294
+
1295
+ objectDefaultElasticity
1296
+
1297
+ </td>
1298
+
1299
+
1300
+ <td class="description last">How bouncy the object is when colliding (0-1)</td>
1301
+ </tr>
1302
+
1303
+
1304
+ </tbody>
1305
+ </table>
1306
+ </div>
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+ <dl class="details">
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+ <div class="details-item-container">
1322
+ <dt class="tag-overrides">Overrides:</dt>
1323
+ <dd class="tag-overrides"><ul class="dummy"><li>
1324
+ <a href="EngineObject.html#elasticity">EngineObject#elasticity</a>
1325
+ </li></ul></dd>
1326
+ </div>
1327
+
1328
+
1329
+
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+ <div class="details-item-container">
1347
+ <dt class="tag-source">Source:</dt>
1348
+ <dd class="tag-source"><ul class="dummy"><li>
1349
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line65">line 65</a>
1350
+ </li></ul></dd>
1351
+ </div>
1352
+
1353
+
1354
+
1355
+
1356
+
1357
+
1358
+
1359
+ </dl>
1360
+
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+
1370
+ <h4 class="name" id="friction">
1371
+ <a href="#friction">#</a>
1372
+ <span class="type-signature"></span>friction<span class="type-signature"></span>
1373
+ </h4>
1374
+
1375
+
1376
+
1377
+
1378
+
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+
1385
+ <h5 class="subsection-title">Properties</h5>
1386
+
1387
+
1388
+ <div class="allow-overflow">
1389
+ <table class="props">
1390
+ <thead>
1391
+ <tr>
1392
+
1393
+ <th>Name</th>
1394
+
1395
+
1396
+ <th>Type</th>
1397
+
1398
+
1399
+ <th>Attributes</th>
1400
+
1401
+
1402
+
1403
+ <th>Default</th>
1404
+
1405
+
1406
+ <th class="last">Description</th>
1407
+ </tr>
1408
+ </thead>
1409
+
1410
+ <tbody>
1411
+
1412
+
1413
+ <tr>
1414
+
1415
+ <td class="name"><code>friction</code></td>
1416
+
1417
+
1418
+ <td class="type">
1419
+
1420
+
1421
+ <span class="param-type">Number</span>
1422
+
1423
+
1424
+
1425
+ </td>
1426
+
1427
+
1428
+ <td class="attributes">
1429
+
1430
+ &lt;optional><br>
1431
+
1432
+
1433
+
1434
+ </td>
1435
+
1436
+
1437
+
1438
+ <td class="default">
1439
+
1440
+ objectDefaultFriction
1441
+
1442
+ </td>
1443
+
1444
+
1445
+ <td class="description last">How much friction to apply when sliding (0-1)</td>
1446
+ </tr>
1447
+
1448
+
1449
+ </tbody>
1450
+ </table>
1451
+ </div>
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+ <dl class="details">
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+ <div class="details-item-container">
1467
+ <dt class="tag-overrides">Overrides:</dt>
1468
+ <dd class="tag-overrides"><ul class="dummy"><li>
1469
+ <a href="EngineObject.html#friction">EngineObject#friction</a>
1470
+ </li></ul></dd>
1471
+ </div>
1472
+
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+ <div class="details-item-container">
1492
+ <dt class="tag-source">Source:</dt>
1493
+ <dd class="tag-source"><ul class="dummy"><li>
1494
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line67">line 67</a>
1495
+ </li></ul></dd>
1496
+ </div>
1497
+
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+ </dl>
1505
+
1506
+
1507
+
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+ <h4 class="name" id="gravityScale">
1516
+ <a href="#gravityScale">#</a>
1517
+ <span class="type-signature"></span>gravityScale<span class="type-signature"></span>
1518
+ </h4>
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+ <h5 class="subsection-title">Properties</h5>
1531
+
1532
+
1533
+ <div class="allow-overflow">
1534
+ <table class="props">
1535
+ <thead>
1536
+ <tr>
1537
+
1538
+ <th>Name</th>
1539
+
1540
+
1541
+ <th>Type</th>
1542
+
1543
+
1544
+ <th>Attributes</th>
1545
+
1546
+
1547
+
1548
+ <th>Default</th>
1549
+
1550
+
1551
+ <th class="last">Description</th>
1552
+ </tr>
1553
+ </thead>
1554
+
1555
+ <tbody>
1556
+
1557
+
1558
+ <tr>
1559
+
1560
+ <td class="name"><code>gravityScale</code></td>
1561
+
1562
+
1563
+ <td class="type">
1564
+
1565
+
1566
+ <span class="param-type">Number</span>
1567
+
1568
+
1569
+
1570
+ </td>
1571
+
1572
+
1573
+ <td class="attributes">
1574
+
1575
+ &lt;optional><br>
1576
+
1577
+
1578
+
1579
+ </td>
1580
+
1581
+
1582
+
1583
+ <td class="default">
1584
+
1585
+ 1
1586
+
1587
+ </td>
1588
+
1589
+
1590
+ <td class="description last">How much to scale gravity by for this object</td>
1591
+ </tr>
1592
+
1593
+
1594
+ </tbody>
1595
+ </table>
1596
+ </div>
1597
+
1598
+
1599
+
1600
+
1601
+
1602
+ <dl class="details">
1603
+
1604
+
1605
+
1606
+
1607
+
1608
+
1609
+
1610
+
1611
+ <div class="details-item-container">
1612
+ <dt class="tag-overrides">Overrides:</dt>
1613
+ <dd class="tag-overrides"><ul class="dummy"><li>
1614
+ <a href="EngineObject.html#gravityScale">EngineObject#gravityScale</a>
1615
+ </li></ul></dd>
1616
+ </div>
1617
+
1618
+
1619
+
1620
+
1621
+
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+
1634
+
1635
+
1636
+ <div class="details-item-container">
1637
+ <dt class="tag-source">Source:</dt>
1638
+ <dd class="tag-source"><ul class="dummy"><li>
1639
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line69">line 69</a>
1640
+ </li></ul></dd>
1641
+ </div>
1642
+
1643
+
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+ </dl>
1650
+
1651
+
1652
+
1653
+
1654
+
1655
+
1656
+
1657
+
1658
+
1659
+
1660
+ <h4 class="name" id="mass">
1661
+ <a href="#mass">#</a>
1662
+ <span class="type-signature"></span>mass<span class="type-signature"></span>
1663
+ </h4>
1664
+
1665
+
1666
+
1667
+
1668
+
1669
+
1670
+
1671
+
1672
+
1673
+
1674
+
1675
+ <h5 class="subsection-title">Properties</h5>
1676
+
1677
+
1678
+ <div class="allow-overflow">
1679
+ <table class="props">
1680
+ <thead>
1681
+ <tr>
1682
+
1683
+ <th>Name</th>
1684
+
1685
+
1686
+ <th>Type</th>
1687
+
1688
+
1689
+ <th>Attributes</th>
1690
+
1691
+
1692
+
1693
+ <th>Default</th>
1694
+
1695
+
1696
+ <th class="last">Description</th>
1697
+ </tr>
1698
+ </thead>
1699
+
1700
+ <tbody>
1701
+
1702
+
1703
+ <tr>
1704
+
1705
+ <td class="name"><code>mass</code></td>
1706
+
1707
+
1708
+ <td class="type">
1709
+
1710
+
1711
+ <span class="param-type">Number</span>
1712
+
1713
+
1714
+
1715
+ </td>
1716
+
1717
+
1718
+ <td class="attributes">
1719
+
1720
+ &lt;optional><br>
1721
+
1722
+
1723
+
1724
+ </td>
1725
+
1726
+
1727
+
1728
+ <td class="default">
1729
+
1730
+ objectDefaultMass
1731
+
1732
+ </td>
1733
+
1734
+
1735
+ <td class="description last">How heavy the object is</td>
1736
+ </tr>
1737
+
1738
+
1739
+ </tbody>
1740
+ </table>
1741
+ </div>
1742
+
1743
+
1744
+
1745
+
1746
+
1747
+ <dl class="details">
1748
+
1749
+
1750
+
1751
+
1752
+
1753
+
1754
+
1755
+
1756
+ <div class="details-item-container">
1757
+ <dt class="tag-overrides">Overrides:</dt>
1758
+ <dd class="tag-overrides"><ul class="dummy"><li>
1759
+ <a href="EngineObject.html#mass">EngineObject#mass</a>
1760
+ </li></ul></dd>
1761
+ </div>
1762
+
1763
+
1764
+
1765
+
1766
+
1767
+
1768
+
1769
+
1770
+
1771
+
1772
+
1773
+
1774
+
1775
+
1776
+
1777
+
1778
+
1779
+
1780
+
1781
+ <div class="details-item-container">
1782
+ <dt class="tag-source">Source:</dt>
1783
+ <dd class="tag-source"><ul class="dummy"><li>
1784
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line59">line 59</a>
1785
+ </li></ul></dd>
1786
+ </div>
1787
+
1788
+
1789
+
1790
+
1791
+
1792
+
1793
+
1794
+ </dl>
1795
+
1796
+
1797
+
1798
+
1799
+
1800
+
1801
+
1802
+
1803
+
1804
+
1805
+ <h4 class="name" id="pos">
1806
+ <a href="#pos">#</a>
1807
+ <span class="type-signature"></span>pos<span class="type-signature"></span>
1808
+ </h4>
1809
+
1810
+
1811
+
1812
+
1813
+
1814
+
1815
+
1816
+
1817
+
1818
+
1819
+
1820
+ <h5 class="subsection-title">Properties</h5>
1821
+
1822
+
1823
+ <div class="allow-overflow">
1824
+ <table class="props">
1825
+ <thead>
1826
+ <tr>
1827
+
1828
+
1829
+ <th>Type</th>
1830
+
1831
+
1832
+
1833
+
1834
+
1835
+ <th class="last">Description</th>
1836
+ </tr>
1837
+ </thead>
1838
+
1839
+ <tbody>
1840
+
1841
+
1842
+ <tr>
1843
+
1844
+
1845
+ <td class="type">
1846
+
1847
+
1848
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
1849
+
1850
+
1851
+
1852
+ </td>
1853
+
1854
+
1855
+
1856
+
1857
+
1858
+ <td class="description last">World space position of the object</td>
1859
+ </tr>
1860
+
1861
+
1862
+ </tbody>
1863
+ </table>
1864
+ </div>
1865
+
1866
+
1867
+
1868
+
1869
+
1870
+ <dl class="details">
1871
+
1872
+
1873
+
1874
+
1875
+
1876
+
1877
+
1878
+
1879
+ <div class="details-item-container">
1880
+ <dt class="tag-overrides">Overrides:</dt>
1881
+ <dd class="tag-overrides"><ul class="dummy"><li>
1882
+ <a href="EngineObject.html#pos">EngineObject#pos</a>
1883
+ </li></ul></dd>
1884
+ </div>
1885
+
1886
+
1887
+
1888
+
1889
+
1890
+
1891
+
1892
+
1893
+
1894
+
1895
+
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+
1904
+ <div class="details-item-container">
1905
+ <dt class="tag-source">Source:</dt>
1906
+ <dd class="tag-source"><ul class="dummy"><li>
1907
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line41">line 41</a>
1908
+ </li></ul></dd>
1909
+ </div>
1910
+
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+ </dl>
1918
+
1919
+
1920
+
1921
+
1922
+
1923
+
1924
+
1925
+
1926
+
1927
+
1928
+ <h4 class="name" id="renderOrder">
1929
+ <a href="#renderOrder">#</a>
1930
+ <span class="type-signature"></span>renderOrder<span class="type-signature"></span>
1931
+ </h4>
1932
+
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+
1939
+
1940
+
1941
+
1942
+
1943
+ <h5 class="subsection-title">Properties</h5>
1944
+
1945
+
1946
+ <div class="allow-overflow">
1947
+ <table class="props">
1948
+ <thead>
1949
+ <tr>
1950
+
1951
+ <th>Name</th>
1952
+
1953
+
1954
+ <th>Type</th>
1955
+
1956
+
1957
+ <th>Attributes</th>
1958
+
1959
+
1960
+
1961
+ <th>Default</th>
1962
+
1963
+
1964
+ <th class="last">Description</th>
1965
+ </tr>
1966
+ </thead>
1967
+
1968
+ <tbody>
1969
+
1970
+
1971
+ <tr>
1972
+
1973
+ <td class="name"><code>renderOrder</code></td>
1974
+
1975
+
1976
+ <td class="type">
1977
+
1978
+
1979
+ <span class="param-type">Number</span>
1980
+
1981
+
1982
+
1983
+ </td>
1984
+
1985
+
1986
+ <td class="attributes">
1987
+
1988
+ &lt;optional><br>
1989
+
1990
+
1991
+
1992
+ </td>
1993
+
1994
+
1995
+
1996
+ <td class="default">
1997
+
1998
+ 0
1999
+
2000
+ </td>
2001
+
2002
+
2003
+ <td class="description last">Objects are sorted by render order</td>
2004
+ </tr>
2005
+
2006
+
2007
+ </tbody>
2008
+ </table>
2009
+ </div>
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+ <dl class="details">
2016
+
2017
+
2018
+
2019
+
2020
+
2021
+
2022
+
2023
+
2024
+ <div class="details-item-container">
2025
+ <dt class="tag-overrides">Overrides:</dt>
2026
+ <dd class="tag-overrides"><ul class="dummy"><li>
2027
+ <a href="EngineObject.html#renderOrder">EngineObject#renderOrder</a>
2028
+ </li></ul></dd>
2029
+ </div>
2030
+
2031
+
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+
2038
+
2039
+
2040
+
2041
+
2042
+
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+
2049
+ <div class="details-item-container">
2050
+ <dt class="tag-source">Source:</dt>
2051
+ <dd class="tag-source"><ul class="dummy"><li>
2052
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line71">line 71</a>
2053
+ </li></ul></dd>
2054
+ </div>
2055
+
2056
+
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+ </dl>
2063
+
2064
+
2065
+
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+ <h4 class="name" id="size">
2074
+ <a href="#size">#</a>
2075
+ <span class="type-signature"></span>size<span class="type-signature"></span>
2076
+ </h4>
2077
+
2078
+
2079
+
2080
+
2081
+
2082
+
2083
+
2084
+
2085
+
2086
+
2087
+
2088
+ <h5 class="subsection-title">Properties</h5>
2089
+
2090
+
2091
+ <div class="allow-overflow">
2092
+ <table class="props">
2093
+ <thead>
2094
+ <tr>
2095
+
2096
+
2097
+ <th>Type</th>
2098
+
2099
+
2100
+
2101
+
2102
+
2103
+ <th class="last">Description</th>
2104
+ </tr>
2105
+ </thead>
2106
+
2107
+ <tbody>
2108
+
2109
+
2110
+ <tr>
2111
+
2112
+
2113
+ <td class="type">
2114
+
2115
+
2116
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2117
+
2118
+
2119
+
2120
+ </td>
2121
+
2122
+
2123
+
2124
+
2125
+
2126
+ <td class="description last">World space width and height of the object</td>
2127
+ </tr>
2128
+
2129
+
2130
+ </tbody>
2131
+ </table>
2132
+ </div>
2133
+
2134
+
2135
+
2136
+
2137
+
2138
+ <dl class="details">
2139
+
2140
+
2141
+
2142
+
2143
+
2144
+
2145
+
2146
+
2147
+ <div class="details-item-container">
2148
+ <dt class="tag-overrides">Overrides:</dt>
2149
+ <dd class="tag-overrides"><ul class="dummy"><li>
2150
+ <a href="EngineObject.html#size">EngineObject#size</a>
2151
+ </li></ul></dd>
2152
+ </div>
2153
+
2154
+
2155
+
2156
+
2157
+
2158
+
2159
+
2160
+
2161
+
2162
+
2163
+
2164
+
2165
+
2166
+
2167
+
2168
+
2169
+
2170
+
2171
+
2172
+ <div class="details-item-container">
2173
+ <dt class="tag-source">Source:</dt>
2174
+ <dd class="tag-source"><ul class="dummy"><li>
2175
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line43">line 43</a>
2176
+ </li></ul></dd>
2177
+ </div>
2178
+
2179
+
2180
+
2181
+
2182
+
2183
+
2184
+
2185
+ </dl>
2186
+
2187
+
2188
+
2189
+
2190
+
2191
+
2192
+
2193
+
2194
+
2195
+
2196
+ <h4 class="name" id="tileIndex">
2197
+ <a href="#tileIndex">#</a>
2198
+ <span class="type-signature"></span>tileIndex<span class="type-signature"></span>
2199
+ </h4>
2200
+
2201
+
2202
+
2203
+
2204
+
2205
+
2206
+
2207
+
2208
+
2209
+
2210
+
2211
+ <h5 class="subsection-title">Properties</h5>
2212
+
2213
+
2214
+ <div class="allow-overflow">
2215
+ <table class="props">
2216
+ <thead>
2217
+ <tr>
2218
+
2219
+
2220
+ <th>Type</th>
2221
+
2222
+
2223
+
2224
+
2225
+
2226
+ <th class="last">Description</th>
2227
+ </tr>
2228
+ </thead>
2229
+
2230
+ <tbody>
2231
+
2232
+
2233
+ <tr>
2234
+
2235
+
2236
+ <td class="type">
2237
+
2238
+
2239
+ <span class="param-type">Number</span>
2240
+
2241
+
2242
+
2243
+ </td>
2244
+
2245
+
2246
+
2247
+
2248
+
2249
+ <td class="description last">Tile to use to render object, untextured if -1</td>
2250
+ </tr>
2251
+
2252
+
2253
+ </tbody>
2254
+ </table>
2255
+ </div>
2256
+
2257
+
2258
+
2259
+
2260
+
2261
+ <dl class="details">
2262
+
2263
+
2264
+
2265
+
2266
+
2267
+
2268
+
2269
+
2270
+ <div class="details-item-container">
2271
+ <dt class="tag-overrides">Overrides:</dt>
2272
+ <dd class="tag-overrides"><ul class="dummy"><li>
2273
+ <a href="EngineObject.html#tileIndex">EngineObject#tileIndex</a>
2274
+ </li></ul></dd>
2275
+ </div>
2276
+
2277
+
2278
+
2279
+
2280
+
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+
2292
+
2293
+
2294
+
2295
+ <div class="details-item-container">
2296
+ <dt class="tag-source">Source:</dt>
2297
+ <dd class="tag-source"><ul class="dummy"><li>
2298
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line47">line 47</a>
2299
+ </li></ul></dd>
2300
+ </div>
2301
+
2302
+
2303
+
2304
+
2305
+
2306
+
2307
+
2308
+ </dl>
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+
2315
+
2316
+
2317
+
2318
+
2319
+ <h4 class="name" id="tileSize">
2320
+ <a href="#tileSize">#</a>
2321
+ <span class="type-signature"></span>tileSize<span class="type-signature"></span>
2322
+ </h4>
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+
2329
+
2330
+
2331
+
2332
+
2333
+
2334
+ <h5 class="subsection-title">Properties</h5>
2335
+
2336
+
2337
+ <div class="allow-overflow">
2338
+ <table class="props">
2339
+ <thead>
2340
+ <tr>
2341
+
2342
+
2343
+ <th>Type</th>
2344
+
2345
+
2346
+
2347
+
2348
+
2349
+ <th class="last">Description</th>
2350
+ </tr>
2351
+ </thead>
2352
+
2353
+ <tbody>
2354
+
2355
+
2356
+ <tr>
2357
+
2358
+
2359
+ <td class="type">
2360
+
2361
+
2362
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2363
+
2364
+
2365
+
2366
+ </td>
2367
+
2368
+
2369
+
2370
+
2371
+
2372
+ <td class="description last">Size of tile in source pixels</td>
2373
+ </tr>
2374
+
2375
+
2376
+ </tbody>
2377
+ </table>
2378
+ </div>
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+ <dl class="details">
2385
+
2386
+
2387
+
2388
+
2389
+
2390
+
2391
+
2392
+
2393
+ <div class="details-item-container">
2394
+ <dt class="tag-overrides">Overrides:</dt>
2395
+ <dd class="tag-overrides"><ul class="dummy"><li>
2396
+ <a href="EngineObject.html#tileSize">EngineObject#tileSize</a>
2397
+ </li></ul></dd>
2398
+ </div>
2399
+
2400
+
2401
+
2402
+
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+
2409
+
2410
+
2411
+
2412
+
2413
+
2414
+
2415
+
2416
+
2417
+
2418
+ <div class="details-item-container">
2419
+ <dt class="tag-source">Source:</dt>
2420
+ <dd class="tag-source"><ul class="dummy"><li>
2421
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line49">line 49</a>
2422
+ </li></ul></dd>
2423
+ </div>
2424
+
2425
+
2426
+
2427
+
2428
+
2429
+
2430
+
2431
+ </dl>
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+
2441
+
2442
+
2443
+
2444
+ <h3 class="subsection-title">Methods</h3>
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+
2451
+ <h4 class="name" id="addChild">
2452
+ <a href="#addChild">#</a>
2453
+ <span class="type-signature"></span>addChild<span class="signature">(child, localPos<span class="signature-attributes">opt</span>, localAngle<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
2454
+ </h4>
2455
+
2456
+
2457
+
2458
+
2459
+
2460
+ <div class="description">
2461
+ Attaches a child to this with a given local transform
2462
+ </div>
2463
+
2464
+
2465
+
2466
+
2467
+
2468
+
2469
+
2470
+
2471
+
2472
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2473
+ <strong>Parameters:</strong>
2474
+
2475
+
2476
+ <table class="params">
2477
+ <thead>
2478
+ <tr>
2479
+
2480
+ <th>Name</th>
2481
+
2482
+
2483
+ <th>Type</th>
2484
+
2485
+
2486
+ <th>Attributes</th>
2487
+
2488
+
2489
+
2490
+ <th>Default</th>
2491
+
2492
+
2493
+ <th class="last">Description</th>
2494
+ </tr>
2495
+ </thead>
2496
+
2497
+ <tbody>
2498
+
2499
+
2500
+ <tr>
2501
+
2502
+ <td class="name"><code>child</code></td>
2503
+
2504
+
2505
+ <td class="type">
2506
+
2507
+
2508
+ <span class="param-type"><a href="EngineObject.html">EngineObject</a></span>
2509
+
2510
+
2511
+
2512
+ </td>
2513
+
2514
+
2515
+ <td class="attributes">
2516
+
2517
+
2518
+
2519
+
2520
+
2521
+ </td>
2522
+
2523
+
2524
+
2525
+ <td class="default">
2526
+
2527
+ </td>
2528
+
2529
+
2530
+ <td class="description last"></td>
2531
+ </tr>
2532
+
2533
+
2534
+
2535
+ <tr>
2536
+
2537
+ <td class="name"><code>localPos</code></td>
2538
+
2539
+
2540
+ <td class="type">
2541
+
2542
+
2543
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2544
+
2545
+
2546
+
2547
+ </td>
2548
+
2549
+
2550
+ <td class="attributes">
2551
+
2552
+ &lt;optional><br>
2553
+
2554
+
2555
+
2556
+
2557
+
2558
+ </td>
2559
+
2560
+
2561
+
2562
+ <td class="default">
2563
+
2564
+ new Vector2
2565
+
2566
+ </td>
2567
+
2568
+
2569
+ <td class="description last"></td>
2570
+ </tr>
2571
+
2572
+
2573
+
2574
+ <tr>
2575
+
2576
+ <td class="name"><code>localAngle</code></td>
2577
+
2578
+
2579
+ <td class="type">
2580
+
2581
+
2582
+ <span class="param-type">Number</span>
2583
+
2584
+
2585
+
2586
+ </td>
2587
+
2588
+
2589
+ <td class="attributes">
2590
+
2591
+ &lt;optional><br>
2592
+
2593
+
2594
+
2595
+
2596
+
2597
+ </td>
2598
+
2599
+
2600
+
2601
+ <td class="default">
2602
+
2603
+ 0
2604
+
2605
+ </td>
2606
+
2607
+
2608
+ <td class="description last"></td>
2609
+ </tr>
2610
+
2611
+
2612
+ </tbody>
2613
+ </table>
2614
+
2615
+ </div>
2616
+
2617
+
2618
+
2619
+
2620
+
2621
+
2622
+
2623
+ <dl class="details">
2624
+
2625
+
2626
+
2627
+
2628
+
2629
+
2630
+
2631
+
2632
+ <div class="details-item-container">
2633
+ <dt class="tag-overrides">Overrides:</dt>
2634
+ <dd class="tag-overrides"><ul class="dummy"><li>
2635
+ <a href="EngineObject.html#addChild">EngineObject#addChild</a>
2636
+ </li></ul></dd>
2637
+ </div>
2638
+
2639
+
2640
+
2641
+
2642
+
2643
+
2644
+
2645
+
2646
+
2647
+
2648
+
2649
+
2650
+
2651
+
2652
+
2653
+
2654
+
2655
+
2656
+
2657
+ <div class="details-item-container">
2658
+ <dt class="tag-source">Source:</dt>
2659
+ <dd class="tag-source"><ul class="dummy"><li>
2660
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line317">line 317</a>
2661
+ </li></ul></dd>
2662
+ </div>
2663
+
2664
+
2665
+
2666
+
2667
+
2668
+
2669
+
2670
+ </dl>
2671
+
2672
+
2673
+
2674
+
2675
+
2676
+
2677
+
2678
+
2679
+
2680
+
2681
+
2682
+
2683
+
2684
+
2685
+
2686
+
2687
+
2688
+
2689
+
2690
+
2691
+
2692
+
2693
+
2694
+ <h4 class="name" id="applyAcceleration">
2695
+ <a href="#applyAcceleration">#</a>
2696
+ <span class="type-signature"></span>applyAcceleration<span class="signature">(acceleration)</span><span class="type-signature"></span>
2697
+ </h4>
2698
+
2699
+
2700
+
2701
+
2702
+
2703
+ <div class="description">
2704
+ Apply acceleration to this object (adjust velocity, not affected by mass)
2705
+ </div>
2706
+
2707
+
2708
+
2709
+
2710
+
2711
+
2712
+
2713
+
2714
+
2715
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2716
+ <strong>Parameters:</strong>
2717
+
2718
+
2719
+ <table class="params">
2720
+ <thead>
2721
+ <tr>
2722
+
2723
+ <th>Name</th>
2724
+
2725
+
2726
+ <th>Type</th>
2727
+
2728
+
2729
+
2730
+
2731
+
2732
+ <th class="last">Description</th>
2733
+ </tr>
2734
+ </thead>
2735
+
2736
+ <tbody>
2737
+
2738
+
2739
+ <tr>
2740
+
2741
+ <td class="name"><code>acceleration</code></td>
2742
+
2743
+
2744
+ <td class="type">
2745
+
2746
+
2747
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2748
+
2749
+
2750
+
2751
+ </td>
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+ <td class="description last"></td>
2758
+ </tr>
2759
+
2760
+
2761
+ </tbody>
2762
+ </table>
2763
+
2764
+ </div>
2765
+
2766
+
2767
+
2768
+
2769
+
2770
+
2771
+
2772
+ <dl class="details">
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+
2779
+
2780
+
2781
+ <div class="details-item-container">
2782
+ <dt class="tag-overrides">Overrides:</dt>
2783
+ <dd class="tag-overrides"><ul class="dummy"><li>
2784
+ <a href="EngineObject.html#applyAcceleration">EngineObject#applyAcceleration</a>
2785
+ </li></ul></dd>
2786
+ </div>
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+
2794
+
2795
+
2796
+
2797
+
2798
+
2799
+
2800
+
2801
+
2802
+
2803
+
2804
+
2805
+
2806
+ <div class="details-item-container">
2807
+ <dt class="tag-source">Source:</dt>
2808
+ <dd class="tag-source"><ul class="dummy"><li>
2809
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line303">line 303</a>
2810
+ </li></ul></dd>
2811
+ </div>
2812
+
2813
+
2814
+
2815
+
2816
+
2817
+
2818
+
2819
+ </dl>
2820
+
2821
+
2822
+
2823
+
2824
+
2825
+
2826
+
2827
+
2828
+
2829
+
2830
+
2831
+
2832
+
2833
+
2834
+
2835
+
2836
+
2837
+
2838
+
2839
+
2840
+
2841
+
2842
+
2843
+ <h4 class="name" id="applyForce">
2844
+ <a href="#applyForce">#</a>
2845
+ <span class="type-signature"></span>applyForce<span class="signature">(force)</span><span class="type-signature"></span>
2846
+ </h4>
2847
+
2848
+
2849
+
2850
+
2851
+
2852
+ <div class="description">
2853
+ Apply force to this object (adjust velocity, affected by mass)
2854
+ </div>
2855
+
2856
+
2857
+
2858
+
2859
+
2860
+
2861
+
2862
+
2863
+
2864
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
2865
+ <strong>Parameters:</strong>
2866
+
2867
+
2868
+ <table class="params">
2869
+ <thead>
2870
+ <tr>
2871
+
2872
+ <th>Name</th>
2873
+
2874
+
2875
+ <th>Type</th>
2876
+
2877
+
2878
+
2879
+
2880
+
2881
+ <th class="last">Description</th>
2882
+ </tr>
2883
+ </thead>
2884
+
2885
+ <tbody>
2886
+
2887
+
2888
+ <tr>
2889
+
2890
+ <td class="name"><code>force</code></td>
2891
+
2892
+
2893
+ <td class="type">
2894
+
2895
+
2896
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
2897
+
2898
+
2899
+
2900
+ </td>
2901
+
2902
+
2903
+
2904
+
2905
+
2906
+ <td class="description last"></td>
2907
+ </tr>
2908
+
2909
+
2910
+ </tbody>
2911
+ </table>
2912
+
2913
+ </div>
2914
+
2915
+
2916
+
2917
+
2918
+
2919
+
2920
+
2921
+ <dl class="details">
2922
+
2923
+
2924
+
2925
+
2926
+
2927
+
2928
+
2929
+
2930
+ <div class="details-item-container">
2931
+ <dt class="tag-overrides">Overrides:</dt>
2932
+ <dd class="tag-overrides"><ul class="dummy"><li>
2933
+ <a href="EngineObject.html#applyForce">EngineObject#applyForce</a>
2934
+ </li></ul></dd>
2935
+ </div>
2936
+
2937
+
2938
+
2939
+
2940
+
2941
+
2942
+
2943
+
2944
+
2945
+
2946
+
2947
+
2948
+
2949
+
2950
+
2951
+
2952
+
2953
+
2954
+
2955
+ <div class="details-item-container">
2956
+ <dt class="tag-source">Source:</dt>
2957
+ <dd class="tag-source"><ul class="dummy"><li>
2958
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line307">line 307</a>
2959
+ </li></ul></dd>
2960
+ </div>
2961
+
2962
+
2963
+
2964
+
2965
+
2966
+
2967
+
2968
+ </dl>
2969
+
2970
+
2971
+
2972
+
2973
+
2974
+
2975
+
2976
+
2977
+
2978
+
2979
+
2980
+
2981
+
2982
+
2983
+
2984
+
2985
+
2986
+
2987
+
2988
+
2989
+
2990
+
2991
+
2992
+ <h4 class="name" id="collideWithObject">
2993
+ <a href="#collideWithObject">#</a>
2994
+ <span class="type-signature"></span>collideWithObject<span class="signature">(object)</span><span class="type-signature"> &rarr; {Boolean}</span>
2995
+ </h4>
2996
+
2997
+
2998
+
2999
+
3000
+
3001
+ <div class="description">
3002
+ Called to check if a tile raycast hit
3003
+ </div>
3004
+
3005
+
3006
+
3007
+
3008
+
3009
+
3010
+
3011
+
3012
+
3013
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3014
+ <strong>Parameters:</strong>
3015
+
3016
+
3017
+ <table class="params">
3018
+ <thead>
3019
+ <tr>
3020
+
3021
+ <th>Name</th>
3022
+
3023
+
3024
+ <th>Type</th>
3025
+
3026
+
3027
+
3028
+
3029
+
3030
+ <th class="last">Description</th>
3031
+ </tr>
3032
+ </thead>
3033
+
3034
+ <tbody>
3035
+
3036
+
3037
+ <tr>
3038
+
3039
+ <td class="name"><code>object</code></td>
3040
+
3041
+
3042
+ <td class="type">
3043
+
3044
+
3045
+ <span class="param-type"><a href="EngineObject.html">EngineObject</a></span>
3046
+
3047
+
3048
+
3049
+ </td>
3050
+
3051
+
3052
+
3053
+
3054
+
3055
+ <td class="description last">the object to test against</td>
3056
+ </tr>
3057
+
3058
+
3059
+ </tbody>
3060
+ </table>
3061
+
3062
+ </div>
3063
+
3064
+
3065
+
3066
+
3067
+
3068
+
3069
+
3070
+ <dl class="details">
3071
+
3072
+
3073
+
3074
+
3075
+
3076
+
3077
+
3078
+
3079
+ <div class="details-item-container">
3080
+ <dt class="tag-overrides">Overrides:</dt>
3081
+ <dd class="tag-overrides"><ul class="dummy"><li>
3082
+ <a href="EngineObject.html#collideWithObject">EngineObject#collideWithObject</a>
3083
+ </li></ul></dd>
3084
+ </div>
3085
+
3086
+
3087
+
3088
+
3089
+
3090
+
3091
+
3092
+
3093
+
3094
+
3095
+
3096
+
3097
+
3098
+
3099
+
3100
+
3101
+
3102
+
3103
+
3104
+ <div class="details-item-container">
3105
+ <dt class="tag-source">Source:</dt>
3106
+ <dd class="tag-source"><ul class="dummy"><li>
3107
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line295">line 295</a>
3108
+ </li></ul></dd>
3109
+ </div>
3110
+
3111
+
3112
+
3113
+
3114
+
3115
+
3116
+
3117
+ </dl>
3118
+
3119
+
3120
+
3121
+
3122
+
3123
+
3124
+
3125
+
3126
+
3127
+
3128
+
3129
+
3130
+
3131
+
3132
+
3133
+ <div class="method-member-container mt-20">
3134
+ <strong>Returns:</strong>
3135
+
3136
+
3137
+ <div class="param-desc">
3138
+ true if the collision should be resolved
3139
+ </div>
3140
+
3141
+
3142
+
3143
+ <dl class="param-type">
3144
+ <dt>
3145
+ Type
3146
+ </dt>
3147
+ <dd>
3148
+
3149
+ <span class="param-type">Boolean</span>
3150
+
3151
+
3152
+ </dd>
3153
+ </dl>
3154
+
3155
+
3156
+ </div>
3157
+
3158
+
3159
+
3160
+
3161
+
3162
+
3163
+
3164
+
3165
+
3166
+ <h4 class="name" id="collideWithTile">
3167
+ <a href="#collideWithTile">#</a>
3168
+ <span class="type-signature"></span>collideWithTile<span class="signature">(tileData, pos)</span><span class="type-signature"> &rarr; {Boolean}</span>
3169
+ </h4>
3170
+
3171
+
3172
+
3173
+
3174
+
3175
+ <div class="description">
3176
+ Called to check if a tile collision should be resolved
3177
+ </div>
3178
+
3179
+
3180
+
3181
+
3182
+
3183
+
3184
+
3185
+
3186
+
3187
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3188
+ <strong>Parameters:</strong>
3189
+
3190
+
3191
+ <table class="params">
3192
+ <thead>
3193
+ <tr>
3194
+
3195
+ <th>Name</th>
3196
+
3197
+
3198
+ <th>Type</th>
3199
+
3200
+
3201
+
3202
+
3203
+
3204
+ <th class="last">Description</th>
3205
+ </tr>
3206
+ </thead>
3207
+
3208
+ <tbody>
3209
+
3210
+
3211
+ <tr>
3212
+
3213
+ <td class="name"><code>tileData</code></td>
3214
+
3215
+
3216
+ <td class="type">
3217
+
3218
+
3219
+ <span class="param-type">Number</span>
3220
+
3221
+
3222
+
3223
+ </td>
3224
+
3225
+
3226
+
3227
+
3228
+
3229
+ <td class="description last">the value of the tile at the position</td>
3230
+ </tr>
3231
+
3232
+
3233
+
3234
+ <tr>
3235
+
3236
+ <td class="name"><code>pos</code></td>
3237
+
3238
+
3239
+ <td class="type">
3240
+
3241
+
3242
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
3243
+
3244
+
3245
+
3246
+ </td>
3247
+
3248
+
3249
+
3250
+
3251
+
3252
+ <td class="description last">tile where the collision occured</td>
3253
+ </tr>
3254
+
3255
+
3256
+ </tbody>
3257
+ </table>
3258
+
3259
+ </div>
3260
+
3261
+
3262
+
3263
+
3264
+
3265
+
3266
+
3267
+ <dl class="details">
3268
+
3269
+
3270
+
3271
+
3272
+
3273
+
3274
+
3275
+
3276
+ <div class="details-item-container">
3277
+ <dt class="tag-overrides">Overrides:</dt>
3278
+ <dd class="tag-overrides"><ul class="dummy"><li>
3279
+ <a href="EngineObject.html#collideWithTile">EngineObject#collideWithTile</a>
3280
+ </li></ul></dd>
3281
+ </div>
3282
+
3283
+
3284
+
3285
+
3286
+
3287
+
3288
+
3289
+
3290
+
3291
+
3292
+
3293
+
3294
+
3295
+
3296
+
3297
+
3298
+
3299
+
3300
+
3301
+ <div class="details-item-container">
3302
+ <dt class="tag-source">Source:</dt>
3303
+ <dd class="tag-source"><ul class="dummy"><li>
3304
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line283">line 283</a>
3305
+ </li></ul></dd>
3306
+ </div>
3307
+
3308
+
3309
+
3310
+
3311
+
3312
+
3313
+
3314
+ </dl>
3315
+
3316
+
3317
+
3318
+
3319
+
3320
+
3321
+
3322
+
3323
+
3324
+
3325
+
3326
+
3327
+
3328
+
3329
+
3330
+ <div class="method-member-container mt-20">
3331
+ <strong>Returns:</strong>
3332
+
3333
+
3334
+ <div class="param-desc">
3335
+ true if the collision should be resolved
3336
+ </div>
3337
+
3338
+
3339
+
3340
+ <dl class="param-type">
3341
+ <dt>
3342
+ Type
3343
+ </dt>
3344
+ <dd>
3345
+
3346
+ <span class="param-type">Boolean</span>
3347
+
3348
+
3349
+ </dd>
3350
+ </dl>
3351
+
3352
+
3353
+ </div>
3354
+
3355
+
3356
+
3357
+
3358
+
3359
+
3360
+
3361
+
3362
+
3363
+ <h4 class="name" id="collideWithTileRaycast">
3364
+ <a href="#collideWithTileRaycast">#</a>
3365
+ <span class="type-signature"></span>collideWithTileRaycast<span class="signature">(tileData, pos)</span><span class="type-signature"> &rarr; {Boolean}</span>
3366
+ </h4>
3367
+
3368
+
3369
+
3370
+
3371
+
3372
+ <div class="description">
3373
+ Called to check if a tile raycast hit
3374
+ </div>
3375
+
3376
+
3377
+
3378
+
3379
+
3380
+
3381
+
3382
+
3383
+
3384
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3385
+ <strong>Parameters:</strong>
3386
+
3387
+
3388
+ <table class="params">
3389
+ <thead>
3390
+ <tr>
3391
+
3392
+ <th>Name</th>
3393
+
3394
+
3395
+ <th>Type</th>
3396
+
3397
+
3398
+
3399
+
3400
+
3401
+ <th class="last">Description</th>
3402
+ </tr>
3403
+ </thead>
3404
+
3405
+ <tbody>
3406
+
3407
+
3408
+ <tr>
3409
+
3410
+ <td class="name"><code>tileData</code></td>
3411
+
3412
+
3413
+ <td class="type">
3414
+
3415
+
3416
+ <span class="param-type">Number</span>
3417
+
3418
+
3419
+
3420
+ </td>
3421
+
3422
+
3423
+
3424
+
3425
+
3426
+ <td class="description last">the value of the tile at the position</td>
3427
+ </tr>
3428
+
3429
+
3430
+
3431
+ <tr>
3432
+
3433
+ <td class="name"><code>pos</code></td>
3434
+
3435
+
3436
+ <td class="type">
3437
+
3438
+
3439
+ <span class="param-type"><a href="Vector2.html">Vector2</a></span>
3440
+
3441
+
3442
+
3443
+ </td>
3444
+
3445
+
3446
+
3447
+
3448
+
3449
+ <td class="description last">tile where the raycast is</td>
3450
+ </tr>
3451
+
3452
+
3453
+ </tbody>
3454
+ </table>
3455
+
3456
+ </div>
3457
+
3458
+
3459
+
3460
+
3461
+
3462
+
3463
+
3464
+ <dl class="details">
3465
+
3466
+
3467
+
3468
+
3469
+
3470
+
3471
+
3472
+
3473
+ <div class="details-item-container">
3474
+ <dt class="tag-overrides">Overrides:</dt>
3475
+ <dd class="tag-overrides"><ul class="dummy"><li>
3476
+ <a href="EngineObject.html#collideWithTileRaycast">EngineObject#collideWithTileRaycast</a>
3477
+ </li></ul></dd>
3478
+ </div>
3479
+
3480
+
3481
+
3482
+
3483
+
3484
+
3485
+
3486
+
3487
+
3488
+
3489
+
3490
+
3491
+
3492
+
3493
+
3494
+
3495
+
3496
+
3497
+
3498
+ <div class="details-item-container">
3499
+ <dt class="tag-source">Source:</dt>
3500
+ <dd class="tag-source"><ul class="dummy"><li>
3501
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line289">line 289</a>
3502
+ </li></ul></dd>
3503
+ </div>
3504
+
3505
+
3506
+
3507
+
3508
+
3509
+
3510
+
3511
+ </dl>
3512
+
3513
+
3514
+
3515
+
3516
+
3517
+
3518
+
3519
+
3520
+
3521
+
3522
+
3523
+
3524
+
3525
+
3526
+
3527
+ <div class="method-member-container mt-20">
3528
+ <strong>Returns:</strong>
3529
+
3530
+
3531
+ <div class="param-desc">
3532
+ true if the raycast should hit
3533
+ </div>
3534
+
3535
+
3536
+
3537
+ <dl class="param-type">
3538
+ <dt>
3539
+ Type
3540
+ </dt>
3541
+ <dd>
3542
+
3543
+ <span class="param-type">Boolean</span>
3544
+
3545
+
3546
+ </dd>
3547
+ </dl>
3548
+
3549
+
3550
+ </div>
3551
+
3552
+
3553
+
3554
+
3555
+
3556
+
3557
+
3558
+
3559
+
3560
+ <h4 class="name" id="destroy">
3561
+ <a href="#destroy">#</a>
3562
+ <span class="type-signature"></span>destroy<span class="signature">()</span><span class="type-signature"></span>
3563
+ </h4>
3564
+
3565
+
3566
+
3567
+
3568
+
3569
+ <div class="description">
3570
+ Destroy this object, destroy it's children, detach it's parent, and mark it for removal
3571
+ </div>
3572
+
3573
+
3574
+
3575
+
3576
+
3577
+
3578
+
3579
+
3580
+
3581
+
3582
+
3583
+
3584
+
3585
+
3586
+
3587
+ <dl class="details">
3588
+
3589
+
3590
+
3591
+
3592
+
3593
+
3594
+
3595
+
3596
+ <div class="details-item-container">
3597
+ <dt class="tag-overrides">Overrides:</dt>
3598
+ <dd class="tag-overrides"><ul class="dummy"><li>
3599
+ <a href="EngineObject.html#destroy">EngineObject#destroy</a>
3600
+ </li></ul></dd>
3601
+ </div>
3602
+
3603
+
3604
+
3605
+
3606
+
3607
+
3608
+
3609
+
3610
+
3611
+
3612
+
3613
+
3614
+
3615
+
3616
+
3617
+
3618
+
3619
+
3620
+
3621
+ <div class="details-item-container">
3622
+ <dt class="tag-source">Source:</dt>
3623
+ <dd class="tag-source"><ul class="dummy"><li>
3624
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line267">line 267</a>
3625
+ </li></ul></dd>
3626
+ </div>
3627
+
3628
+
3629
+
3630
+
3631
+
3632
+
3633
+
3634
+ </dl>
3635
+
3636
+
3637
+
3638
+
3639
+
3640
+
3641
+
3642
+
3643
+
3644
+
3645
+
3646
+
3647
+
3648
+
3649
+
3650
+
3651
+
3652
+
3653
+
3654
+
3655
+
3656
+
3657
+
3658
+ <h4 class="name" id="getAliveTime">
3659
+ <a href="#getAliveTime">#</a>
3660
+ <span class="type-signature"></span>getAliveTime<span class="signature">()</span><span class="type-signature"> &rarr; {Number}</span>
3661
+ </h4>
3662
+
3663
+
3664
+
3665
+
3666
+
3667
+ <div class="description">
3668
+ How long since the object was created
3669
+ </div>
3670
+
3671
+
3672
+
3673
+
3674
+
3675
+
3676
+
3677
+
3678
+
3679
+
3680
+
3681
+
3682
+
3683
+
3684
+
3685
+ <dl class="details">
3686
+
3687
+
3688
+
3689
+
3690
+
3691
+
3692
+
3693
+
3694
+ <div class="details-item-container">
3695
+ <dt class="tag-overrides">Overrides:</dt>
3696
+ <dd class="tag-overrides"><ul class="dummy"><li>
3697
+ <a href="EngineObject.html#getAliveTime">EngineObject#getAliveTime</a>
3698
+ </li></ul></dd>
3699
+ </div>
3700
+
3701
+
3702
+
3703
+
3704
+
3705
+
3706
+
3707
+
3708
+
3709
+
3710
+
3711
+
3712
+
3713
+
3714
+
3715
+
3716
+
3717
+
3718
+
3719
+ <div class="details-item-container">
3720
+ <dt class="tag-source">Source:</dt>
3721
+ <dd class="tag-source"><ul class="dummy"><li>
3722
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line299">line 299</a>
3723
+ </li></ul></dd>
3724
+ </div>
3725
+
3726
+
3727
+
3728
+
3729
+
3730
+
3731
+
3732
+ </dl>
3733
+
3734
+
3735
+
3736
+
3737
+
3738
+
3739
+
3740
+
3741
+
3742
+
3743
+
3744
+
3745
+
3746
+
3747
+
3748
+ <div class="method-member-container mt-20">
3749
+ <strong>Returns:</strong>
3750
+
3751
+
3752
+
3753
+
3754
+ <dl class="param-type">
3755
+ <dt>
3756
+ Type
3757
+ </dt>
3758
+ <dd>
3759
+
3760
+ <span class="param-type">Number</span>
3761
+
3762
+
3763
+ </dd>
3764
+ </dl>
3765
+
3766
+
3767
+ </div>
3768
+
3769
+
3770
+
3771
+
3772
+
3773
+
3774
+
3775
+
3776
+
3777
+ <h4 class="name" id="getMirrorSign">
3778
+ <a href="#getMirrorSign">#</a>
3779
+ <span class="type-signature"></span>getMirrorSign<span class="signature">()</span><span class="type-signature"> &rarr; {Number}</span>
3780
+ </h4>
3781
+
3782
+
3783
+
3784
+
3785
+
3786
+ <div class="description">
3787
+ Get the direction of the mirror
3788
+ </div>
3789
+
3790
+
3791
+
3792
+
3793
+
3794
+
3795
+
3796
+
3797
+
3798
+
3799
+
3800
+
3801
+
3802
+
3803
+
3804
+ <dl class="details">
3805
+
3806
+
3807
+
3808
+
3809
+
3810
+
3811
+
3812
+
3813
+ <div class="details-item-container">
3814
+ <dt class="tag-overrides">Overrides:</dt>
3815
+ <dd class="tag-overrides"><ul class="dummy"><li>
3816
+ <a href="EngineObject.html#getMirrorSign">EngineObject#getMirrorSign</a>
3817
+ </li></ul></dd>
3818
+ </div>
3819
+
3820
+
3821
+
3822
+
3823
+
3824
+
3825
+
3826
+
3827
+
3828
+
3829
+
3830
+
3831
+
3832
+
3833
+
3834
+
3835
+
3836
+
3837
+
3838
+ <div class="details-item-container">
3839
+ <dt class="tag-source">Source:</dt>
3840
+ <dd class="tag-source"><ul class="dummy"><li>
3841
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line311">line 311</a>
3842
+ </li></ul></dd>
3843
+ </div>
3844
+
3845
+
3846
+
3847
+
3848
+
3849
+
3850
+
3851
+ </dl>
3852
+
3853
+
3854
+
3855
+
3856
+
3857
+
3858
+
3859
+
3860
+
3861
+
3862
+
3863
+
3864
+
3865
+
3866
+
3867
+ <div class="method-member-container mt-20">
3868
+ <strong>Returns:</strong>
3869
+
3870
+
3871
+ <div class="param-desc">
3872
+ -1 if this.mirror is true, or 1 if not mirrored
3873
+ </div>
3874
+
3875
+
3876
+
3877
+ <dl class="param-type">
3878
+ <dt>
3879
+ Type
3880
+ </dt>
3881
+ <dd>
3882
+
3883
+ <span class="param-type">Number</span>
3884
+
3885
+
3886
+ </dd>
3887
+ </dl>
3888
+
3889
+
3890
+ </div>
3891
+
3892
+
3893
+
3894
+
3895
+
3896
+
3897
+
3898
+
3899
+
3900
+ <h4 class="name" id="removeChild">
3901
+ <a href="#removeChild">#</a>
3902
+ <span class="type-signature"></span>removeChild<span class="signature">(child)</span><span class="type-signature"></span>
3903
+ </h4>
3904
+
3905
+
3906
+
3907
+
3908
+
3909
+ <div class="description">
3910
+ Removes a child from this one
3911
+ </div>
3912
+
3913
+
3914
+
3915
+
3916
+
3917
+
3918
+
3919
+
3920
+
3921
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
3922
+ <strong>Parameters:</strong>
3923
+
3924
+
3925
+ <table class="params">
3926
+ <thead>
3927
+ <tr>
3928
+
3929
+ <th>Name</th>
3930
+
3931
+
3932
+ <th>Type</th>
3933
+
3934
+
3935
+
3936
+
3937
+
3938
+ <th class="last">Description</th>
3939
+ </tr>
3940
+ </thead>
3941
+
3942
+ <tbody>
3943
+
3944
+
3945
+ <tr>
3946
+
3947
+ <td class="name"><code>child</code></td>
3948
+
3949
+
3950
+ <td class="type">
3951
+
3952
+
3953
+ <span class="param-type"><a href="EngineObject.html">EngineObject</a></span>
3954
+
3955
+
3956
+
3957
+ </td>
3958
+
3959
+
3960
+
3961
+
3962
+
3963
+ <td class="description last"></td>
3964
+ </tr>
3965
+
3966
+
3967
+ </tbody>
3968
+ </table>
3969
+
3970
+ </div>
3971
+
3972
+
3973
+
3974
+
3975
+
3976
+
3977
+
3978
+ <dl class="details">
3979
+
3980
+
3981
+
3982
+
3983
+
3984
+
3985
+
3986
+
3987
+ <div class="details-item-container">
3988
+ <dt class="tag-overrides">Overrides:</dt>
3989
+ <dd class="tag-overrides"><ul class="dummy"><li>
3990
+ <a href="EngineObject.html#removeChild">EngineObject#removeChild</a>
3991
+ </li></ul></dd>
3992
+ </div>
3993
+
3994
+
3995
+
3996
+
3997
+
3998
+
3999
+
4000
+
4001
+
4002
+
4003
+
4004
+
4005
+
4006
+
4007
+
4008
+
4009
+
4010
+
4011
+
4012
+ <div class="details-item-container">
4013
+ <dt class="tag-source">Source:</dt>
4014
+ <dd class="tag-source"><ul class="dummy"><li>
4015
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line328">line 328</a>
4016
+ </li></ul></dd>
4017
+ </div>
4018
+
4019
+
4020
+
4021
+
4022
+
4023
+
4024
+
4025
+ </dl>
4026
+
4027
+
4028
+
4029
+
4030
+
4031
+
4032
+
4033
+
4034
+
4035
+
4036
+
4037
+
4038
+
4039
+
4040
+
4041
+
4042
+
4043
+
4044
+
4045
+
4046
+
4047
+
4048
+
4049
+ <h4 class="name" id="render">
4050
+ <a href="#render">#</a>
4051
+ <span class="type-signature"></span>render<span class="signature">()</span><span class="type-signature"></span>
4052
+ </h4>
4053
+
4054
+
4055
+
4056
+
4057
+
4058
+ <div class="description">
4059
+ Render the particle, automatically called each frame, sorted by renderOrder
4060
+ </div>
4061
+
4062
+
4063
+
4064
+
4065
+
4066
+
4067
+
4068
+
4069
+
4070
+
4071
+
4072
+
4073
+
4074
+
4075
+
4076
+ <dl class="details">
4077
+
4078
+
4079
+
4080
+
4081
+
4082
+
4083
+
4084
+
4085
+ <div class="details-item-container">
4086
+ <dt class="tag-overrides">Overrides:</dt>
4087
+ <dd class="tag-overrides"><ul class="dummy"><li>
4088
+ <a href="EngineObject.html#render">EngineObject#render</a>
4089
+ </li></ul></dd>
4090
+ </div>
4091
+
4092
+
4093
+
4094
+
4095
+
4096
+
4097
+
4098
+
4099
+
4100
+
4101
+
4102
+
4103
+
4104
+
4105
+
4106
+
4107
+
4108
+
4109
+
4110
+ <div class="details-item-container">
4111
+ <dt class="tag-source">Source:</dt>
4112
+ <dd class="tag-source"><ul class="dummy"><li>
4113
+ <a href="engineParticles.js.html">engineParticles.js</a>, <a href="engineParticles.js.html#line242">line 242</a>
4114
+ </li></ul></dd>
4115
+ </div>
4116
+
4117
+
4118
+
4119
+
4120
+
4121
+
4122
+
4123
+ </dl>
4124
+
4125
+
4126
+
4127
+
4128
+
4129
+
4130
+
4131
+
4132
+
4133
+
4134
+
4135
+
4136
+
4137
+
4138
+
4139
+
4140
+
4141
+
4142
+
4143
+
4144
+
4145
+
4146
+
4147
+ <h4 class="name" id="setCollision">
4148
+ <a href="#setCollision">#</a>
4149
+ <span class="type-signature"></span>setCollision<span class="signature">(collideSolidObjects<span class="signature-attributes">opt</span>, isSolid<span class="signature-attributes">opt</span>, collideTiles<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span>
4150
+ </h4>
4151
+
4152
+
4153
+
4154
+
4155
+
4156
+ <div class="description">
4157
+ Set how this object collides
4158
+ </div>
4159
+
4160
+
4161
+
4162
+
4163
+
4164
+
4165
+
4166
+
4167
+
4168
+ <div class="method-member-container flex flex-col w-100 overflow-auto mt-20">
4169
+ <strong>Parameters:</strong>
4170
+
4171
+
4172
+ <table class="params">
4173
+ <thead>
4174
+ <tr>
4175
+
4176
+ <th>Name</th>
4177
+
4178
+
4179
+ <th>Type</th>
4180
+
4181
+
4182
+ <th>Attributes</th>
4183
+
4184
+
4185
+
4186
+ <th>Default</th>
4187
+
4188
+
4189
+ <th class="last">Description</th>
4190
+ </tr>
4191
+ </thead>
4192
+
4193
+ <tbody>
4194
+
4195
+
4196
+ <tr>
4197
+
4198
+ <td class="name"><code>collideSolidObjects</code></td>
4199
+
4200
+
4201
+ <td class="type">
4202
+
4203
+
4204
+ <span class="param-type">boolean</span>
4205
+
4206
+
4207
+
4208
+ </td>
4209
+
4210
+
4211
+ <td class="attributes">
4212
+
4213
+ &lt;optional><br>
4214
+
4215
+
4216
+
4217
+
4218
+
4219
+ </td>
4220
+
4221
+
4222
+
4223
+ <td class="default">
4224
+
4225
+ 0
4226
+
4227
+ </td>
4228
+
4229
+
4230
+ <td class="description last">Does it collide with solid objects</td>
4231
+ </tr>
4232
+
4233
+
4234
+
4235
+ <tr>
4236
+
4237
+ <td class="name"><code>isSolid</code></td>
4238
+
4239
+
4240
+ <td class="type">
4241
+
4242
+
4243
+ <span class="param-type">boolean</span>
4244
+
4245
+
4246
+
4247
+ </td>
4248
+
4249
+
4250
+ <td class="attributes">
4251
+
4252
+ &lt;optional><br>
4253
+
4254
+
4255
+
4256
+
4257
+
4258
+ </td>
4259
+
4260
+
4261
+
4262
+ <td class="default">
4263
+
4264
+ 0
4265
+
4266
+ </td>
4267
+
4268
+
4269
+ <td class="description last">Does it collide with and block other objects (expensive in large numbers)</td>
4270
+ </tr>
4271
+
4272
+
4273
+
4274
+ <tr>
4275
+
4276
+ <td class="name"><code>collideTiles</code></td>
4277
+
4278
+
4279
+ <td class="type">
4280
+
4281
+
4282
+ <span class="param-type">boolean</span>
4283
+
4284
+
4285
+
4286
+ </td>
4287
+
4288
+
4289
+ <td class="attributes">
4290
+
4291
+ &lt;optional><br>
4292
+
4293
+
4294
+
4295
+
4296
+
4297
+ </td>
4298
+
4299
+
4300
+
4301
+ <td class="default">
4302
+
4303
+ 1
4304
+
4305
+ </td>
4306
+
4307
+
4308
+ <td class="description last">Does it collide with the tile collision</td>
4309
+ </tr>
4310
+
4311
+
4312
+ </tbody>
4313
+ </table>
4314
+
4315
+ </div>
4316
+
4317
+
4318
+
4319
+
4320
+
4321
+
4322
+
4323
+ <dl class="details">
4324
+
4325
+
4326
+
4327
+
4328
+
4329
+
4330
+
4331
+
4332
+ <div class="details-item-container">
4333
+ <dt class="tag-overrides">Overrides:</dt>
4334
+ <dd class="tag-overrides"><ul class="dummy"><li>
4335
+ <a href="EngineObject.html#setCollision">EngineObject#setCollision</a>
4336
+ </li></ul></dd>
4337
+ </div>
4338
+
4339
+
4340
+
4341
+
4342
+
4343
+
4344
+
4345
+
4346
+
4347
+
4348
+
4349
+
4350
+
4351
+
4352
+
4353
+
4354
+
4355
+
4356
+
4357
+ <div class="details-item-container">
4358
+ <dt class="tag-source">Source:</dt>
4359
+ <dd class="tag-source"><ul class="dummy"><li>
4360
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line339">line 339</a>
4361
+ </li></ul></dd>
4362
+ </div>
4363
+
4364
+
4365
+
4366
+
4367
+
4368
+
4369
+
4370
+ </dl>
4371
+
4372
+
4373
+
4374
+
4375
+
4376
+
4377
+
4378
+
4379
+
4380
+
4381
+
4382
+
4383
+
4384
+
4385
+
4386
+
4387
+
4388
+
4389
+
4390
+
4391
+
4392
+
4393
+
4394
+ <h4 class="name" id="update">
4395
+ <a href="#update">#</a>
4396
+ <span class="type-signature"></span>update<span class="signature">()</span><span class="type-signature"></span>
4397
+ </h4>
4398
+
4399
+
4400
+
4401
+
4402
+
4403
+ <div class="description">
4404
+ Update the object transform and physics, called automatically by engine once each frame
4405
+ </div>
4406
+
4407
+
4408
+
4409
+
4410
+
4411
+
4412
+
4413
+
4414
+
4415
+
4416
+
4417
+
4418
+
4419
+
4420
+
4421
+ <dl class="details">
4422
+
4423
+
4424
+
4425
+
4426
+
4427
+
4428
+
4429
+
4430
+ <div class="details-item-container">
4431
+ <dt class="tag-overrides">Overrides:</dt>
4432
+ <dd class="tag-overrides"><ul class="dummy"><li>
4433
+ <a href="EngineObject.html#update">EngineObject#update</a>
4434
+ </li></ul></dd>
4435
+ </div>
4436
+
4437
+
4438
+
4439
+
4440
+
4441
+
4442
+
4443
+
4444
+
4445
+
4446
+
4447
+
4448
+
4449
+
4450
+
4451
+
4452
+
4453
+
4454
+
4455
+ <div class="details-item-container">
4456
+ <dt class="tag-source">Source:</dt>
4457
+ <dd class="tag-source"><ul class="dummy"><li>
4458
+ <a href="engineObject.js.html">engineObject.js</a>, <a href="engineObject.js.html#line84">line 84</a>
4459
+ </li></ul></dd>
4460
+ </div>
4461
+
4462
+
4463
+
4464
+
4465
+
4466
+
4467
+
4468
+ </dl>
4469
+
4470
+
4471
+
4472
+
4473
+
4474
+
4475
+
4476
+
4477
+
4478
+
4479
+
4480
+
4481
+
4482
+
4483
+
4484
+
4485
+
4486
+
4487
+
4488
+
4489
+
4490
+
4491
+
4492
+
4493
+ </article>
4494
+
4495
+ </section>
4496
+
4497
+
4498
+
4499
+
4500
+ </div>
4501
+
4502
+ <footer class="footer" id="footer">
4503
+ <a href=https://github.com/KilledByAPixel/LittleJS>LittleJS - MIT License - Copyright 2021 Frank Force</a>
4504
+ </footer>
4505
+
4506
+ <script src="scripts/third-party/prettify.js"></script>
4507
+ <script src="scripts/third-party/lang-css.js"></script>
4508
+ <script type="text/javascript" src="scripts/misc.js"></script>
4509
+
4510
+ <script>prettyPrint();</script>
4511
+ <script src="scripts/linenumber.js"></script>
4512
+ <script src="scripts/fix-code-block.js"></script>
4513
+ <script src="scripts/fix-navbar.js"></script>
4514
+
4515
+ <script src="scripts/search.js"></script>
4516
+ <script src="scripts/third-party/fuse.js"></script>
4517
+ <script>
4518
+ 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#addChild","link":"<a href=\"Particle.html#addChild\">Particle &rtrif; addChild</a>"},{"title":"Particle#applyAcceleration","link":"<a href=\"Particle.html#applyAcceleration\">Particle &rtrif; applyAcceleration</a>"},{"title":"Particle#applyForce","link":"<a href=\"Particle.html#applyForce\">Particle &rtrif; applyForce</a>"},{"title":"Particle#collideWithObject","link":"<a href=\"Particle.html#collideWithObject\">Particle &rtrif; collideWithObject</a>"},{"title":"Particle#collideWithTile","link":"<a href=\"Particle.html#collideWithTile\">Particle &rtrif; collideWithTile</a>"},{"title":"Particle#collideWithTileRaycast","link":"<a href=\"Particle.html#collideWithTileRaycast\">Particle &rtrif; collideWithTileRaycast</a>"},{"title":"Particle#destroy","link":"<a href=\"Particle.html#destroy\">Particle &rtrif; destroy</a>"},{"title":"Particle#getAliveTime","link":"<a href=\"Particle.html#getAliveTime\">Particle &rtrif; getAliveTime</a>"},{"title":"Particle#getMirrorSign","link":"<a href=\"Particle.html#getMirrorSign\">Particle &rtrif; getMirrorSign</a>"},{"title":"Particle#removeChild","link":"<a href=\"Particle.html#removeChild\">Particle &rtrif; removeChild</a>"},{"title":"Particle#render","link":"<a href=\"Particle.html#render\">Particle &rtrif; render</a>"},{"title":"Particle#setCollision","link":"<a href=\"Particle.html#setCollision\">Particle &rtrif; setCollision</a>"},{"title":"Particle#update","link":"<a href=\"Particle.html#update\">Particle &rtrif; update</a>"},{"title":"ParticleEmitter","link":"<a href=\"ParticleEmitter.html\">ParticleEmitter</a>"},{"title":"ParticleEmitter#addChild","link":"<a href=\"ParticleEmitter.html#addChild\">ParticleEmitter &rtrif; addChild</a>"},{"title":"ParticleEmitter#applyAcceleration","link":"<a href=\"ParticleEmitter.html#applyAcceleration\">ParticleEmitter &rtrif; applyAcceleration</a>"},{"title":"ParticleEmitter#applyForce","link":"<a href=\"ParticleEmitter.html#applyForce\">ParticleEmitter &rtrif; applyForce</a>"},{"title":"ParticleEmitter#collideWithObject","link":"<a href=\"ParticleEmitter.html#collideWithObject\">ParticleEmitter &rtrif; collideWithObject</a>"},{"title":"ParticleEmitter#collideWithTile","link":"<a href=\"ParticleEmitter.html#collideWithTile\">ParticleEmitter &rtrif; collideWithTile</a>"},{"title":"ParticleEmitter#collideWithTileRaycast","link":"<a href=\"ParticleEmitter.html#collideWithTileRaycast\">ParticleEmitter &rtrif; collideWithTileRaycast</a>"},{"title":"ParticleEmitter#destroy","link":"<a href=\"ParticleEmitter.html#destroy\">ParticleEmitter &rtrif; destroy</a>"},{"title":"ParticleEmitter#emitParticle","link":"<a href=\"ParticleEmitter.html#emitParticle\">ParticleEmitter &rtrif; emitParticle</a>"},{"title":"ParticleEmitter#getAliveTime","link":"<a href=\"ParticleEmitter.html#getAliveTime\">ParticleEmitter &rtrif; getAliveTime</a>"},{"title":"ParticleEmitter#getMirrorSign","link":"<a href=\"ParticleEmitter.html#getMirrorSign\">ParticleEmitter &rtrif; getMirrorSign</a>"},{"title":"ParticleEmitter#removeChild","link":"<a href=\"ParticleEmitter.html#removeChild\">ParticleEmitter &rtrif; removeChild</a>"},{"title":"ParticleEmitter#render","link":"<a href=\"ParticleEmitter.html#render\">ParticleEmitter &rtrif; render</a>"},{"title":"ParticleEmitter#setCollision","link":"<a href=\"ParticleEmitter.html#setCollision\">ParticleEmitter &rtrif; setCollision</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#addChild","link":"<a href=\"TileLayer.html#addChild\">TileLayer &rtrif; addChild</a>"},{"title":"TileLayer#applyAcceleration","link":"<a href=\"TileLayer.html#applyAcceleration\">TileLayer &rtrif; applyAcceleration</a>"},{"title":"TileLayer#applyForce","link":"<a href=\"TileLayer.html#applyForce\">TileLayer &rtrif; applyForce</a>"},{"title":"TileLayer#collideWithObject","link":"<a href=\"TileLayer.html#collideWithObject\">TileLayer &rtrif; collideWithObject</a>"},{"title":"TileLayer#collideWithTile","link":"<a href=\"TileLayer.html#collideWithTile\">TileLayer &rtrif; collideWithTile</a>"},{"title":"TileLayer#collideWithTileRaycast","link":"<a href=\"TileLayer.html#collideWithTileRaycast\">TileLayer &rtrif; collideWithTileRaycast</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#getAliveTime","link":"<a href=\"TileLayer.html#getAliveTime\">TileLayer &rtrif; getAliveTime</a>"},{"title":"TileLayer#getData","link":"<a href=\"TileLayer.html#getData\">TileLayer &rtrif; getData</a>"},{"title":"TileLayer#getMirrorSign","link":"<a href=\"TileLayer.html#getMirrorSign\">TileLayer &rtrif; getMirrorSign</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#removeChild","link":"<a href=\"TileLayer.html#removeChild\">TileLayer &rtrif; removeChild</a>"},{"title":"TileLayer#render","link":"<a href=\"TileLayer.html#render\">TileLayer &rtrif; render</a>"},{"title":"TileLayer#setCollision","link":"<a href=\"TileLayer.html#setCollision\">TileLayer &rtrif; setCollision</a>"},{"title":"TileLayer#setData","link":"<a href=\"TileLayer.html#setData\">TileLayer &rtrif; setData</a>"},{"title":"TileLayer#update","link":"<a href=\"TileLayer.html#update\">TileLayer &rtrif; update</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":"TileCollision","link":"<a href=\"TileCollision.html\">TileCollision</a>"},{"title":"TileCollision.getTileCollisionData","link":"<a href=\"TileCollision.html#.getTileCollisionData\">TileCollision.getTileCollisionData &rtrif; undefined</a>"},{"title":"TileCollision.initTileCollision","link":"<a href=\"TileCollision.html#.initTileCollision\">TileCollision.initTileCollision &rtrif; undefined</a>"},{"title":"TileCollision.setTileCollisionData","link":"<a href=\"TileCollision.html#.setTileCollisionData\">TileCollision.setTileCollisionData &rtrif; undefined</a>"},{"title":"TileCollision.tileCollisionRaycast","link":"<a href=\"TileCollision.html#.tileCollisionRaycast\">TileCollision.tileCollisionRaycast &rtrif; undefined</a>"},{"title":"TileCollision.tileCollisionTest","link":"<a href=\"TileCollision.html#.tileCollisionTest\">TileCollision.tileCollisionTest &rtrif; undefined</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.glDraw","link":"<a href=\"WebGL.html#.glDraw\">WebGL.glDraw &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>"}];
4519
+ var options =
4520
+ setupSearch(list, options)
4521
+ </script>
4522
+
4523
+
4524
+
4525
+
4526
+
4527
+
4528
+
4529
+
4530
+
4531
+
4532
+
4533
+ </body>
4534
+
4535
+ </html>