littlejsengine 1.2.3 → 1.3.3

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