littlejsengine 1.3.3 → 1.3.5

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