@vpmedia/phaser 1.104.0 → 1.105.0

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 (297) hide show
  1. package/dist/index.js +151 -574
  2. package/dist/index.js.map +1 -1
  3. package/dist/phaser/core/animation.d.ts +35 -57
  4. package/dist/phaser/core/animation.d.ts.map +1 -1
  5. package/dist/phaser/core/animation_manager.d.ts +11 -10
  6. package/dist/phaser/core/animation_manager.d.ts.map +1 -1
  7. package/dist/phaser/core/animation_parser.d.ts +2 -2
  8. package/dist/phaser/core/animation_parser.d.ts.map +1 -1
  9. package/dist/phaser/core/array_set.d.ts +3 -3
  10. package/dist/phaser/core/array_set.d.ts.map +1 -1
  11. package/dist/phaser/core/cache.d.ts +60 -60
  12. package/dist/phaser/core/cache.d.ts.map +1 -1
  13. package/dist/phaser/core/device.d.ts.map +1 -1
  14. package/dist/phaser/core/device_util.d.ts +10 -10
  15. package/dist/phaser/core/device_util.d.ts.map +1 -1
  16. package/dist/phaser/core/dom.d.ts +6 -5
  17. package/dist/phaser/core/dom.d.ts.map +1 -1
  18. package/dist/phaser/core/event_manager.d.ts +49 -174
  19. package/dist/phaser/core/event_manager.d.ts.map +1 -1
  20. package/dist/phaser/core/factory.d.ts +7 -7
  21. package/dist/phaser/core/factory.d.ts.map +1 -1
  22. package/dist/phaser/core/frame.d.ts +27 -48
  23. package/dist/phaser/core/frame.d.ts.map +1 -1
  24. package/dist/phaser/core/frame_data.d.ts +11 -60
  25. package/dist/phaser/core/frame_data.d.ts.map +1 -1
  26. package/dist/phaser/core/frame_util.d.ts +4 -14
  27. package/dist/phaser/core/frame_util.d.ts.map +1 -1
  28. package/dist/phaser/core/game.d.ts +49 -58
  29. package/dist/phaser/core/game.d.ts.map +1 -1
  30. package/dist/phaser/core/input.d.ts +15 -13
  31. package/dist/phaser/core/input.d.ts.map +1 -1
  32. package/dist/phaser/core/input_handler.d.ts +23 -20
  33. package/dist/phaser/core/input_handler.d.ts.map +1 -1
  34. package/dist/phaser/core/input_mouse.d.ts +26 -1
  35. package/dist/phaser/core/input_mouse.d.ts.map +1 -1
  36. package/dist/phaser/core/input_mspointer.d.ts +2 -2
  37. package/dist/phaser/core/input_mspointer.d.ts.map +1 -1
  38. package/dist/phaser/core/input_pointer.d.ts +9 -9
  39. package/dist/phaser/core/input_pointer.d.ts.map +1 -1
  40. package/dist/phaser/core/input_touch.d.ts +2 -1
  41. package/dist/phaser/core/input_touch.d.ts.map +1 -1
  42. package/dist/phaser/core/loader.d.ts +28 -28
  43. package/dist/phaser/core/loader.d.ts.map +1 -1
  44. package/dist/phaser/core/loader_parser.d.ts +4 -4
  45. package/dist/phaser/core/loader_parser.d.ts.map +1 -1
  46. package/dist/phaser/core/raf.d.ts +2 -2
  47. package/dist/phaser/core/raf.d.ts.map +1 -1
  48. package/dist/phaser/core/scale_manager.d.ts +22 -17
  49. package/dist/phaser/core/scale_manager.d.ts.map +1 -1
  50. package/dist/phaser/core/scene.d.ts +1 -1
  51. package/dist/phaser/core/scene.d.ts.map +1 -1
  52. package/dist/phaser/core/scene_manager.d.ts +10 -9
  53. package/dist/phaser/core/scene_manager.d.ts.map +1 -1
  54. package/dist/phaser/core/signal.d.ts +9 -8
  55. package/dist/phaser/core/signal.d.ts.map +1 -1
  56. package/dist/phaser/core/signal_binding.d.ts +2 -2
  57. package/dist/phaser/core/signal_binding.d.ts.map +1 -1
  58. package/dist/phaser/core/sound.d.ts +56 -101
  59. package/dist/phaser/core/sound.d.ts.map +1 -1
  60. package/dist/phaser/core/sound_manager.d.ts +11 -9
  61. package/dist/phaser/core/sound_manager.d.ts.map +1 -1
  62. package/dist/phaser/core/sound_sprite.d.ts +4 -4
  63. package/dist/phaser/core/sound_sprite.d.ts.map +1 -1
  64. package/dist/phaser/core/stage.d.ts +3 -3
  65. package/dist/phaser/core/stage.d.ts.map +1 -1
  66. package/dist/phaser/core/time.d.ts +5 -5
  67. package/dist/phaser/core/time.d.ts.map +1 -1
  68. package/dist/phaser/core/timer.d.ts +10 -10
  69. package/dist/phaser/core/timer.d.ts.map +1 -1
  70. package/dist/phaser/core/timer_event.d.ts +11 -21
  71. package/dist/phaser/core/timer_event.d.ts.map +1 -1
  72. package/dist/phaser/core/tween.d.ts +37 -59
  73. package/dist/phaser/core/tween.d.ts.map +1 -1
  74. package/dist/phaser/core/tween_data.d.ts +6 -5
  75. package/dist/phaser/core/tween_data.d.ts.map +1 -1
  76. package/dist/phaser/core/tween_easing.d.ts +31 -31
  77. package/dist/phaser/core/tween_easing.d.ts.map +1 -1
  78. package/dist/phaser/core/tween_manager.d.ts +4 -4
  79. package/dist/phaser/core/tween_manager.d.ts.map +1 -1
  80. package/dist/phaser/core/world.d.ts +1 -1
  81. package/dist/phaser/core/world.d.ts.map +1 -1
  82. package/dist/phaser/display/bitmap_text.d.ts +22 -20
  83. package/dist/phaser/display/bitmap_text.d.ts.map +1 -1
  84. package/dist/phaser/display/button.d.ts +23 -35
  85. package/dist/phaser/display/button.d.ts.map +1 -1
  86. package/dist/phaser/display/canvas/buffer.d.ts +2 -2
  87. package/dist/phaser/display/canvas/buffer.d.ts.map +1 -1
  88. package/dist/phaser/display/canvas/graphics.d.ts +3 -3
  89. package/dist/phaser/display/canvas/graphics.d.ts.map +1 -1
  90. package/dist/phaser/display/canvas/masker.d.ts.map +1 -1
  91. package/dist/phaser/display/canvas/pool.d.ts +2 -2
  92. package/dist/phaser/display/canvas/pool.d.ts.map +1 -1
  93. package/dist/phaser/display/canvas/renderer.d.ts +5 -5
  94. package/dist/phaser/display/canvas/renderer.d.ts.map +1 -1
  95. package/dist/phaser/display/canvas/tinter.d.ts +3 -3
  96. package/dist/phaser/display/canvas/tinter.d.ts.map +1 -1
  97. package/dist/phaser/display/canvas/util.d.ts +9 -9
  98. package/dist/phaser/display/canvas/util.d.ts.map +1 -1
  99. package/dist/phaser/display/display_object.d.ts +45 -42
  100. package/dist/phaser/display/display_object.d.ts.map +1 -1
  101. package/dist/phaser/display/graphics.d.ts +24 -16
  102. package/dist/phaser/display/graphics.d.ts.map +1 -1
  103. package/dist/phaser/display/graphics_data.d.ts +1 -1
  104. package/dist/phaser/display/graphics_data.d.ts.map +1 -1
  105. package/dist/phaser/display/graphics_data_util.d.ts +1 -1
  106. package/dist/phaser/display/graphics_data_util.d.ts.map +1 -1
  107. package/dist/phaser/display/group.d.ts +24 -37
  108. package/dist/phaser/display/group.d.ts.map +1 -1
  109. package/dist/phaser/display/image.d.ts +34 -49
  110. package/dist/phaser/display/image.d.ts.map +1 -1
  111. package/dist/phaser/display/sprite_batch.d.ts +1 -1
  112. package/dist/phaser/display/sprite_batch.d.ts.map +1 -1
  113. package/dist/phaser/display/sprite_util.d.ts +5 -5
  114. package/dist/phaser/display/sprite_util.d.ts.map +1 -1
  115. package/dist/phaser/display/text.d.ts +86 -66
  116. package/dist/phaser/display/text.d.ts.map +1 -1
  117. package/dist/phaser/display/webgl/abstract_filter.d.ts +2 -1
  118. package/dist/phaser/display/webgl/abstract_filter.d.ts.map +1 -1
  119. package/dist/phaser/display/webgl/base_texture.d.ts +2 -2
  120. package/dist/phaser/display/webgl/base_texture.d.ts.map +1 -1
  121. package/dist/phaser/display/webgl/blend_manager.d.ts +3 -2
  122. package/dist/phaser/display/webgl/blend_manager.d.ts.map +1 -1
  123. package/dist/phaser/display/webgl/earcut.d.ts +10 -10
  124. package/dist/phaser/display/webgl/earcut.d.ts.map +1 -1
  125. package/dist/phaser/display/webgl/earcut_node.d.ts +1 -1
  126. package/dist/phaser/display/webgl/earcut_node.d.ts.map +1 -1
  127. package/dist/phaser/display/webgl/fast_sprite_batch.d.ts +2 -1
  128. package/dist/phaser/display/webgl/fast_sprite_batch.d.ts.map +1 -1
  129. package/dist/phaser/display/webgl/filter_manager.d.ts +2 -1
  130. package/dist/phaser/display/webgl/filter_manager.d.ts.map +1 -1
  131. package/dist/phaser/display/webgl/filter_texture.d.ts +3 -2
  132. package/dist/phaser/display/webgl/filter_texture.d.ts.map +1 -1
  133. package/dist/phaser/display/webgl/graphics.d.ts +11 -10
  134. package/dist/phaser/display/webgl/graphics.d.ts.map +1 -1
  135. package/dist/phaser/display/webgl/graphics_data.d.ts +2 -1
  136. package/dist/phaser/display/webgl/graphics_data.d.ts.map +1 -1
  137. package/dist/phaser/display/webgl/mask_manager.d.ts.map +1 -1
  138. package/dist/phaser/display/webgl/render_texture.d.ts +2 -1
  139. package/dist/phaser/display/webgl/render_texture.d.ts.map +1 -1
  140. package/dist/phaser/display/webgl/renderer.d.ts +8 -6
  141. package/dist/phaser/display/webgl/renderer.d.ts.map +1 -1
  142. package/dist/phaser/display/webgl/shader/complex.d.ts +2 -1
  143. package/dist/phaser/display/webgl/shader/complex.d.ts.map +1 -1
  144. package/dist/phaser/display/webgl/shader/fast.d.ts +2 -1
  145. package/dist/phaser/display/webgl/shader/fast.d.ts.map +1 -1
  146. package/dist/phaser/display/webgl/shader/normal.d.ts +1 -0
  147. package/dist/phaser/display/webgl/shader/normal.d.ts.map +1 -1
  148. package/dist/phaser/display/webgl/shader/primitive.d.ts +2 -1
  149. package/dist/phaser/display/webgl/shader/primitive.d.ts.map +1 -1
  150. package/dist/phaser/display/webgl/shader/strip.d.ts +2 -1
  151. package/dist/phaser/display/webgl/shader/strip.d.ts.map +1 -1
  152. package/dist/phaser/display/webgl/shader_manager.d.ts +4 -2
  153. package/dist/phaser/display/webgl/shader_manager.d.ts.map +1 -1
  154. package/dist/phaser/display/webgl/sprite_batch.d.ts +3 -2
  155. package/dist/phaser/display/webgl/sprite_batch.d.ts.map +1 -1
  156. package/dist/phaser/display/webgl/stencil_manager.d.ts +5 -4
  157. package/dist/phaser/display/webgl/stencil_manager.d.ts.map +1 -1
  158. package/dist/phaser/display/webgl/texture.d.ts +15 -2
  159. package/dist/phaser/display/webgl/texture.d.ts.map +1 -1
  160. package/dist/phaser/display/webgl/texture_util.d.ts +2 -2
  161. package/dist/phaser/display/webgl/texture_util.d.ts.map +1 -1
  162. package/dist/phaser/display/webgl/util.d.ts +6 -6
  163. package/dist/phaser/display/webgl/util.d.ts.map +1 -1
  164. package/dist/phaser/geom/circle.d.ts +11 -10
  165. package/dist/phaser/geom/circle.d.ts.map +1 -1
  166. package/dist/phaser/geom/ellipse.d.ts +6 -5
  167. package/dist/phaser/geom/ellipse.d.ts.map +1 -1
  168. package/dist/phaser/geom/line.d.ts +14 -14
  169. package/dist/phaser/geom/line.d.ts.map +1 -1
  170. package/dist/phaser/geom/matrix.d.ts +13 -12
  171. package/dist/phaser/geom/matrix.d.ts.map +1 -1
  172. package/dist/phaser/geom/point.d.ts +19 -19
  173. package/dist/phaser/geom/point.d.ts.map +1 -1
  174. package/dist/phaser/geom/polygon.d.ts +6 -6
  175. package/dist/phaser/geom/polygon.d.ts.map +1 -1
  176. package/dist/phaser/geom/rectangle.d.ts +20 -20
  177. package/dist/phaser/geom/rectangle.d.ts.map +1 -1
  178. package/dist/phaser/geom/rounded_rectangle.d.ts +2 -2
  179. package/dist/phaser/geom/rounded_rectangle.d.ts.map +1 -1
  180. package/dist/phaser/geom/util/circle.d.ts +9 -7
  181. package/dist/phaser/geom/util/circle.d.ts.map +1 -1
  182. package/dist/phaser/geom/util/ellipse.d.ts +1 -1
  183. package/dist/phaser/geom/util/ellipse.d.ts.map +1 -1
  184. package/dist/phaser/geom/util/line.d.ts +5 -3
  185. package/dist/phaser/geom/util/line.d.ts.map +1 -1
  186. package/dist/phaser/geom/util/matrix.d.ts +2 -1
  187. package/dist/phaser/geom/util/matrix.d.ts.map +1 -1
  188. package/dist/phaser/geom/util/point.d.ts +19 -19
  189. package/dist/phaser/geom/util/point.d.ts.map +1 -1
  190. package/dist/phaser/geom/util/polygon.d.ts +2 -1
  191. package/dist/phaser/geom/util/polygon.d.ts.map +1 -1
  192. package/dist/phaser/geom/util/rectangle.d.ts +17 -15
  193. package/dist/phaser/geom/util/rectangle.d.ts.map +1 -1
  194. package/dist/phaser/geom/util/rounded_rectangle.d.ts +2 -1
  195. package/dist/phaser/geom/util/rounded_rectangle.d.ts.map +1 -1
  196. package/dist/phaser/util/math.d.ts +51 -142
  197. package/dist/phaser/util/math.d.ts.map +1 -1
  198. package/package.json +1 -1
  199. package/src/phaser/core/animation.ts +38 -61
  200. package/src/phaser/core/animation_manager.ts +21 -21
  201. package/src/phaser/core/animation_parser.ts +11 -3
  202. package/src/phaser/core/array_set.ts +8 -8
  203. package/src/phaser/core/cache.ts +75 -68
  204. package/src/phaser/core/device.ts +23 -24
  205. package/src/phaser/core/device_util.ts +10 -10
  206. package/src/phaser/core/dom.ts +5 -5
  207. package/src/phaser/core/event_manager.ts +52 -193
  208. package/src/phaser/core/factory.ts +25 -18
  209. package/src/phaser/core/frame.ts +37 -51
  210. package/src/phaser/core/frame_data.ts +29 -76
  211. package/src/phaser/core/frame_util.ts +3 -16
  212. package/src/phaser/core/game.ts +36 -63
  213. package/src/phaser/core/input.ts +68 -68
  214. package/src/phaser/core/input_handler.ts +81 -86
  215. package/src/phaser/core/input_mouse.ts +42 -36
  216. package/src/phaser/core/input_mspointer.ts +24 -25
  217. package/src/phaser/core/input_pointer.ts +55 -56
  218. package/src/phaser/core/input_touch.ts +26 -26
  219. package/src/phaser/core/loader.ts +97 -70
  220. package/src/phaser/core/loader_parser.ts +6 -7
  221. package/src/phaser/core/raf.ts +2 -2
  222. package/src/phaser/core/scale_manager.ts +85 -82
  223. package/src/phaser/core/scene.ts +3 -4
  224. package/src/phaser/core/scene_manager.ts +26 -26
  225. package/src/phaser/core/signal.ts +10 -10
  226. package/src/phaser/core/signal_binding.ts +2 -2
  227. package/src/phaser/core/sound.ts +65 -112
  228. package/src/phaser/core/sound_manager.ts +31 -30
  229. package/src/phaser/core/sound_sprite.ts +10 -11
  230. package/src/phaser/core/stage.ts +8 -8
  231. package/src/phaser/core/time.ts +33 -34
  232. package/src/phaser/core/timer.ts +40 -34
  233. package/src/phaser/core/timer_event.ts +23 -23
  234. package/src/phaser/core/tween.ts +42 -68
  235. package/src/phaser/core/tween_data.ts +31 -31
  236. package/src/phaser/core/tween_easing.ts +31 -31
  237. package/src/phaser/core/tween_manager.ts +10 -11
  238. package/src/phaser/core/world.ts +1 -2
  239. package/src/phaser/display/bitmap_text.ts +41 -31
  240. package/src/phaser/display/button.ts +24 -51
  241. package/src/phaser/display/canvas/buffer.ts +6 -7
  242. package/src/phaser/display/canvas/graphics.ts +3 -4
  243. package/src/phaser/display/canvas/masker.ts +2 -3
  244. package/src/phaser/display/canvas/pool.ts +3 -4
  245. package/src/phaser/display/canvas/renderer.ts +19 -20
  246. package/src/phaser/display/canvas/tinter.ts +4 -5
  247. package/src/phaser/display/canvas/util.ts +9 -9
  248. package/src/phaser/display/display_object.ts +49 -50
  249. package/src/phaser/display/graphics.ts +56 -43
  250. package/src/phaser/display/graphics_data.ts +11 -12
  251. package/src/phaser/display/graphics_data_util.ts +1 -2
  252. package/src/phaser/display/group.ts +32 -42
  253. package/src/phaser/display/image.ts +32 -52
  254. package/src/phaser/display/sprite_batch.ts +1 -2
  255. package/src/phaser/display/sprite_util.ts +5 -6
  256. package/src/phaser/display/text.ts +82 -56
  257. package/src/phaser/display/webgl/abstract_filter.ts +8 -8
  258. package/src/phaser/display/webgl/base_texture.ts +14 -15
  259. package/src/phaser/display/webgl/blend_manager.ts +5 -5
  260. package/src/phaser/display/webgl/earcut.ts +27 -27
  261. package/src/phaser/display/webgl/earcut_node.ts +1 -1
  262. package/src/phaser/display/webgl/fast_sprite_batch.ts +19 -19
  263. package/src/phaser/display/webgl/filter_manager.ts +5 -5
  264. package/src/phaser/display/webgl/filter_texture.ts +7 -7
  265. package/src/phaser/display/webgl/graphics.ts +10 -11
  266. package/src/phaser/display/webgl/graphics_data.ts +11 -11
  267. package/src/phaser/display/webgl/mask_manager.ts +2 -3
  268. package/src/phaser/display/webgl/render_texture.ts +12 -12
  269. package/src/phaser/display/webgl/renderer.ts +24 -24
  270. package/src/phaser/display/webgl/shader/complex.ts +7 -7
  271. package/src/phaser/display/webgl/shader/fast.ts +8 -8
  272. package/src/phaser/display/webgl/shader/normal.ts +12 -12
  273. package/src/phaser/display/webgl/shader/primitive.ts +7 -7
  274. package/src/phaser/display/webgl/shader/strip.ts +7 -7
  275. package/src/phaser/display/webgl/shader_manager.ts +13 -13
  276. package/src/phaser/display/webgl/sprite_batch.ts +20 -20
  277. package/src/phaser/display/webgl/stencil_manager.ts +8 -8
  278. package/src/phaser/display/webgl/texture.ts +35 -24
  279. package/src/phaser/display/webgl/texture_util.ts +2 -3
  280. package/src/phaser/display/webgl/util.ts +6 -6
  281. package/src/phaser/geom/circle.ts +10 -10
  282. package/src/phaser/geom/ellipse.ts +6 -6
  283. package/src/phaser/geom/line.ts +14 -14
  284. package/src/phaser/geom/matrix.ts +12 -12
  285. package/src/phaser/geom/point.ts +19 -19
  286. package/src/phaser/geom/polygon.ts +5 -5
  287. package/src/phaser/geom/rectangle.ts +21 -21
  288. package/src/phaser/geom/rounded_rectangle.ts +2 -2
  289. package/src/phaser/geom/util/circle.ts +7 -7
  290. package/src/phaser/geom/util/ellipse.ts +1 -1
  291. package/src/phaser/geom/util/line.ts +5 -5
  292. package/src/phaser/geom/util/matrix.ts +1 -1
  293. package/src/phaser/geom/util/point.ts +20 -20
  294. package/src/phaser/geom/util/polygon.ts +1 -1
  295. package/src/phaser/geom/util/rectangle.ts +15 -15
  296. package/src/phaser/geom/util/rounded_rectangle.ts +1 -1
  297. package/src/phaser/util/math.ts +65 -151
@@ -8,13 +8,13 @@ export declare class Polygon {
8
8
  * Creates a new Polygon instance.
9
9
  * @param {object[]} points - The array of points to define the polygon (optional).
10
10
  */
11
- constructor(points?: any);
11
+ constructor(points?: any[]);
12
12
  /**
13
13
  * Converts the polygon's points to a number array.
14
14
  * @param {number[]} output - The array to store the result in (optional).
15
15
  * @returns {number[]} An array of numbers representing the polygon's points.
16
16
  */
17
- toNumberArray(output?: any[]): any[];
17
+ toNumberArray(output?: number[]): number[];
18
18
  /**
19
19
  * Flattens the polygon's point array to a simple numeric array.
20
20
  * @returns {Polygon} This polygon instance for chaining.
@@ -24,26 +24,26 @@ export declare class Polygon {
24
24
  * Creates a clone of this polygon.
25
25
  * @returns {Polygon} A new polygon with the same values as this one.
26
26
  */
27
- clone(): any;
27
+ clone(): Polygon;
28
28
  /**
29
29
  * Checks if the specified point is contained within this polygon.
30
30
  * @param {number} x - The x coordinate of the point to check.
31
31
  * @param {number} y - The y coordinate of the point to check.
32
32
  * @returns {boolean} True if the point is contained within this polygon, false otherwise.
33
33
  */
34
- contains(x: any, y: any): boolean;
34
+ contains(x: number, y: number): boolean;
35
35
  /**
36
36
  * Sets the polygon's points to new values.
37
37
  * @param {object[]} points - The array of points to define the polygon.
38
38
  * @returns {Polygon} This polygon instance for chaining.
39
39
  */
40
- setTo(points: any): this;
40
+ setTo(points: any[]): this;
41
41
  /**
42
42
  * Calculates the area of this polygon.
43
43
  * @param {number} y0 - The y coordinate of the lowest boundary (internal use).
44
44
  * @returns {number} The area of this polygon.
45
45
  */
46
- calculateArea(y0: any): number;
46
+ calculateArea(y0: number): number;
47
47
  /**
48
48
  * Gets the points of this polygon.
49
49
  * @returns {object[]} The array of points that define this polygon.
@@ -1 +1 @@
1
- {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../src/phaser/geom/polygon.ts"],"names":[],"mappings":"AAIA,qBAAa,OAAO;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;gBACS,MAAM,MAAO;IAgBzB;;;;OAIG;IACH,aAAa,CAAC,MAAM,QAAK;IAczB;;;OAGG;IACH,OAAO;IAMP;;;OAGG;IACH,KAAK;IAIL;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA;IA2Bb;;;;OAIG;IACH,KAAK,CAAC,MAAM,KAAA;IAkCZ;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAA;IAmBhB;;;OAGG;IACH,IAAI,MAAM,UAET;IAED;;OAEG;IACH,IAAI,MAAM,CAAC,KAAK,OAAA,EAOf;CACF"}
1
+ {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../src/phaser/geom/polygon.ts"],"names":[],"mappings":"AAIA,qBAAa,OAAO;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;gBACS,MAAM,GAAE,GAAG,EAAS;IAgBhC;;;;OAIG;IACH,aAAa,CAAC,MAAM,GAAE,MAAM,EAAO;IAcnC;;;OAGG;IACH,OAAO;IAMP;;;OAGG;IACH,KAAK;IAIL;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IA2B7B;;;;OAIG;IACH,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE;IAkCnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM;IAmBxB;;;OAGG;IACH,IAAI,MAAM,UAET;IAED;;OAEG;IACH,IAAI,MAAM,CAAC,KAAK,OAAA,EAOf;CACF"}
@@ -19,13 +19,13 @@ export declare class Rectangle {
19
19
  * @param {number} dy - The amount to offset the y coordinate by.
20
20
  * @returns {Rectangle} This rectangle instance for chaining.
21
21
  */
22
- offset(dx: any, dy: any): this;
22
+ offset(dx: number, dy: number): this;
23
23
  /**
24
24
  * Offsets the rectangle's position by the specified point coordinates.
25
25
  * @param {Point} point - The point to offset the rectangle by.
26
26
  * @returns {Rectangle} This rectangle instance for chaining.
27
27
  */
28
- offsetPoint(point: any): this;
28
+ offsetPoint(point: Point): this;
29
29
  /**
30
30
  * Sets the rectangle's position and size to new values.
31
31
  * @param {number} x - The new x coordinate of the top-left corner of the rectangle.
@@ -34,21 +34,21 @@ export declare class Rectangle {
34
34
  * @param {number} height - The new height of the rectangle.
35
35
  * @returns {Rectangle} This rectangle instance for chaining.
36
36
  */
37
- setTo(x: any, y: any, width: any, height: any): this;
37
+ setTo(x: number, y: number, width: number, height: number): this;
38
38
  /**
39
39
  * Scales the rectangle's size by the specified amounts.
40
40
  * @param {number} x - The amount to scale the width by.
41
41
  * @param {number} y - The amount to scale the height by (default: x).
42
42
  * @returns {Rectangle} This rectangle instance for chaining.
43
43
  */
44
- scale(x: any, y?: any): this;
44
+ scale(x: number, y?: number): this;
45
45
  /**
46
46
  * Centers the rectangle on the specified point.
47
47
  * @param {number} x - The x coordinate to center the rectangle on.
48
48
  * @param {number} y - The y coordinate to center the rectangle on.
49
49
  * @returns {Rectangle} This rectangle instance for chaining.
50
50
  */
51
- centerOn(x: any, y: any): this;
51
+ centerOn(x: number, y: number): this;
52
52
  /**
53
53
  * Floors the x and y coordinates of the rectangle (rounds down to nearest integer).
54
54
  */
@@ -70,71 +70,71 @@ export declare class Rectangle {
70
70
  * @param {Rectangle} source - The rectangle to copy values from.
71
71
  * @returns {Rectangle} This rectangle instance for chaining.
72
72
  */
73
- copyFrom(source: any): this;
73
+ copyFrom(source: Rectangle): this;
74
74
  /**
75
75
  * Copies the values of this rectangle to another rectangle.
76
76
  * @param {Rectangle} dest - The rectangle to copy values to.
77
77
  * @returns {Rectangle} The destination rectangle.
78
78
  */
79
- copyTo(dest: any): any;
79
+ copyTo(dest: Rectangle): Rectangle;
80
80
  /**
81
81
  * Increases the size of the rectangle by the specified amounts.
82
82
  * @param {number} dx - The amount to increase the width by.
83
83
  * @param {number} dy - The amount to increase the height by.
84
84
  * @returns {Rectangle} This rectangle instance for chaining.
85
85
  */
86
- inflate(dx: any, dy: any): any;
86
+ inflate(dx: number, dy: number): Rectangle;
87
87
  /**
88
88
  * Gets the size of the rectangle as a point.
89
89
  * @param {Point} output - The point to store the size in (optional).
90
90
  * @returns {Point} The size of the rectangle as a point.
91
91
  */
92
- size(output: any): any;
92
+ size(output: Point): Point;
93
93
  /**
94
94
  * Resizes the rectangle to the specified dimensions.
95
95
  * @param {number} width - The new width of the rectangle.
96
96
  * @param {number} height - The new height of the rectangle.
97
97
  * @returns {Rectangle} This rectangle instance for chaining.
98
98
  */
99
- resize(width: any, height: any): this;
99
+ resize(width: number, height: number): this;
100
100
  /**
101
101
  * Creates a clone of this rectangle.
102
102
  * @param {Rectangle} output - The rectangle to store the clone in (optional).
103
103
  * @returns {Rectangle} A new rectangle with the same values as this one.
104
104
  */
105
- clone(output?: any): any;
105
+ clone(output?: Rectangle): Rectangle;
106
106
  /**
107
107
  * Checks if the specified point is contained within this rectangle.
108
108
  * @param {number} x - The x coordinate of the point to check.
109
109
  * @param {number} y - The y coordinate of the point to check.
110
110
  * @returns {boolean} True if the point is contained within this rectangle, false otherwise.
111
111
  */
112
- contains(x: any, y: any): boolean;
112
+ contains(x: number, y: number): boolean;
113
113
  /**
114
114
  * Checks if the specified rectangle is fully contained within this rectangle.
115
115
  * @param {Rectangle} b - The rectangle to check if it's contained.
116
116
  * @returns {boolean} True if the rectangle is contained within this rectangle, false otherwise.
117
117
  */
118
- containsRect(b: any): boolean;
118
+ containsRect(b: Rectangle): boolean;
119
119
  /**
120
120
  * Checks if this rectangle is equal to another rectangle.
121
121
  * @param {Rectangle} b - The rectangle to compare with.
122
122
  * @returns {boolean} True if the rectangles have the same values, false otherwise.
123
123
  */
124
- equals(b: any): boolean;
124
+ equals(b: Rectangle): boolean;
125
125
  /**
126
126
  * Gets the intersection of this rectangle and another rectangle.
127
127
  * @param {Rectangle} b - The rectangle to intersect with.
128
128
  * @param {Rectangle} out - The rectangle to store the result in (optional).
129
129
  * @returns {Rectangle} The intersection of the two rectangles.
130
130
  */
131
- intersection(b: any, out?: any): any;
131
+ intersection(b: Rectangle, out?: Rectangle): Rectangle;
132
132
  /**
133
133
  * Checks if this rectangle intersects with another rectangle.
134
134
  * @param {Rectangle} b - The rectangle to check for intersection with.
135
135
  * @returns {boolean} True if the rectangles intersect, false otherwise.
136
136
  */
137
- intersects(b: any): boolean;
137
+ intersects(b: Rectangle): boolean;
138
138
  /**
139
139
  * Checks if this rectangle intersects with the specified bounds.
140
140
  * @param {number} left - The left boundary of the area to check for intersection.
@@ -144,27 +144,27 @@ export declare class Rectangle {
144
144
  * @param {number} tolerance - A tolerance value to use when checking (default: 0).
145
145
  * @returns {boolean} True if the rectangle intersects with the bounds, false otherwise.
146
146
  */
147
- intersectsRaw(left: any, right: any, top: any, bottom: any, tolerance: any): boolean;
147
+ intersectsRaw(left: number, right: number, top: number, bottom: number, tolerance: number): boolean;
148
148
  /**
149
149
  * Gets the union of this rectangle and another rectangle.
150
150
  * @param {Rectangle} b - The rectangle to union with.
151
151
  * @param {Rectangle} out - The rectangle to store the result in (optional).
152
152
  * @returns {Rectangle} The union of the two rectangles.
153
153
  */
154
- union(b: any, out?: any): any;
154
+ union(b: Rectangle, out?: Rectangle): Rectangle;
155
155
  /**
156
156
  * Gets a random point within this rectangle.
157
157
  * @param {Point} output - The point to store the result in (optional).
158
158
  * @returns {Point} A random point within this rectangle.
159
159
  */
160
- random(output?: any): any;
160
+ random(output?: Point): Point;
161
161
  /**
162
162
  * Gets a point at a specific position on the rectangle.
163
163
  * @param {number} position - The position to get the point for (TOP_LEFT, TOP_CENTER, etc.).
164
164
  * @param {Point} output - The point to store the result in (optional).
165
165
  * @returns {Point} A point at the specified position on the rectangle.
166
166
  */
167
- getPoint(position: any, output?: any): any;
167
+ getPoint(position: number, output?: Point): Point;
168
168
  /**
169
169
  * Returns a string representation of this rectangle.
170
170
  * @returns {string} A string representation of the rectangle.
@@ -1 +1 @@
1
- {"version":3,"file":"rectangle.d.ts","sourceRoot":"","sources":["../../../src/phaser/geom/rectangle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AA0BnC,qBAAa,SAAS;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,K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;IACH,IAAI,OAAO,UAEV;IAED;;OAEG;IACH,IAAI,OAAO,CAAC,KAAK,OAAA,EAGhB;IAED;;;OAGG;IACH,IAAI,QAAQ,UAEX;IAED;;OAEG;IACH,IAAI,QAAQ,CAAC,KAAK,OAAA,EAGjB;IAED;;;OAGG;IACH,IAAI,MAAM,WAET;IAED;;OAEG;IACH,IAAI,MAAM,CAAC,KAAK,QAAA,EAMf;IAED;;;OAGG;IACH,IAAI,UAAU,UAEb;IAED;;OAEG;IACH,IAAI,UAAU,CAAC,KAAK,OAAA,EAGnB;IAED;;;OAGG;IACH,IAAI,WAAW,UAEd;IAED;;OAEG;IACH,IAAI,WAAW,CAAC,KAAK,OAAA,EAGpB;IAED;;;OAGG;IACH,IAAI,IAAI,WAEP;IAED;;OAEG;IACH,IAAI,IAAI,CAAC,KAAK,QAAA,EAOb;IAED;;;OAGG;IACH,IAAI,KAAK,WAER;IAED;;OAEG;IACH,IAAI,KAAK,CAAC,KAAK,QAAA,EAMd;IAED;;;OAGG;IACH,IAAI,MAAM,WAET;IAED;;;OAGG;IACH,IAAI,SAAS,WAEZ;IAED;;;OAGG;IACH,IAAI,OAAO,WAEV;IAED;;OAEG;IACH,IAAI,OAAO,CAAC,KAAK,QAAA,EAEhB;IAED;;;OAGG;IACH,IAAI,OAAO,WAEV;IAED;;OAEG;IACH,IAAI,OAAO,CAAC,KAAK,QAAA,EAEhB;IAED;;;OAGG;IACH,IAAI,OAAO,WAEV;IAED;;;OAGG;IACH,IAAI,OAAO,WAEV;IAED;;;OAGG;IACH,IAAI,KAAK,YAER;IAED;;OAEG;IACH,IAAI,KAAK,CAAC,KAAK,SAAA,EAId;CACF"}
@@ -20,11 +20,11 @@ export declare class RoundedRectangle {
20
20
  * @param {number} y - The y coordinate of the point to check.
21
21
  * @returns {boolean} True if the point is contained within this rounded rectangle, false otherwise.
22
22
  */
23
- contains(x: any, y: any): boolean;
23
+ contains(x: number, y: number): boolean;
24
24
  /**
25
25
  * Creates a clone of this rounded rectangle.
26
26
  * @returns {RoundedRectangle} A new rounded rectangle with the same values as this one.
27
27
  */
28
- clone(): any;
28
+ clone(): RoundedRectangle;
29
29
  }
30
30
  //# sourceMappingURL=rounded_rectangle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rounded_rectangle.d.ts","sourceRoot":"","sources":["../../../src/phaser/geom/rounded_rectangle.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;OAOG;gBACS,CAAC,SAAI,EAAE,CAAC,SAAI,EAAE,KAAK,SAAI,EAAE,MAAM,SAAI,EAAE,MAAM,SAAK;IAS5D;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA;IAYb;;;OAGG;IACH,KAAK;CAGN"}
1
+ {"version":3,"file":"rounded_rectangle.d.ts","sourceRoot":"","sources":["../../../src/phaser/geom/rounded_rectangle.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;OAOG;gBACS,CAAC,GAAE,MAAU,EAAE,CAAC,GAAE,MAAU,EAAE,KAAK,GAAE,MAAU,EAAE,MAAM,GAAE,MAAU,EAAE,MAAM,GAAE,MAAW;IASpG;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAY7B;;;OAGG;IACH,KAAK;CAGN"}
@@ -1,10 +1,12 @@
1
+ import { Circle } from '../circle.js';
2
+ import { Point } from '../point.js';
1
3
  /**
2
4
  * Clones a circle.
3
5
  * @param {Circle} input - The circle to clone.
4
6
  * @param {Circle} output - Optional circle to store the result in.
5
7
  * @returns {Circle} The cloned circle.
6
8
  */
7
- export declare const clone: (input: any, output?: any) => any;
9
+ export declare const clone: (input: Circle, output?: Circle) => Circle;
8
10
  /**
9
11
  * Checks if a point is contained within the circle.
10
12
  * @param {Circle} a - The circle to check.
@@ -12,21 +14,21 @@ export declare const clone: (input: any, output?: any) => any;
12
14
  * @param {number} y - The y coordinate of the point.
13
15
  * @returns {boolean} True if the point is contained within the circle, false otherwise.
14
16
  */
15
- export declare const contains: (a: any, x: any, y: any) => boolean;
17
+ export declare const contains: (a: Circle, x: number, y: number) => boolean;
16
18
  /**
17
19
  * Checks if two circles are equal.
18
20
  * @param {Circle} a - The first circle to compare.
19
21
  * @param {Circle} b - The second circle to compare.
20
22
  * @returns {boolean} True if the circles are equal, false otherwise.
21
23
  */
22
- export declare const equals: (a: any, b: any) => boolean;
24
+ export declare const equals: (a: Circle, b: Circle) => boolean;
23
25
  /**
24
26
  * Checks if two circles intersect.
25
27
  * @param {Circle} a - The first circle to check.
26
28
  * @param {Circle} b - The second circle to check.
27
29
  * @returns {boolean} True if the circles intersect, false otherwise.
28
30
  */
29
- export declare const intersects: (a: any, b: any) => boolean;
31
+ export declare const intersects: (a: Circle, b: Circle) => boolean;
30
32
  /**
31
33
  * Gets a point on the circumference of the circle at the specified angle.
32
34
  * @param {Circle} a - The circle to get the point from.
@@ -35,7 +37,7 @@ export declare const intersects: (a: any, b: any) => boolean;
35
37
  * @param {Point} output - Optional point to store the result in.
36
38
  * @returns {Point} The point on the circumference of the circle.
37
39
  */
38
- export declare const circumferencePoint: (a: any, angle: any, asDegrees?: boolean, output?: any) => any;
40
+ export declare const circumferencePoint: (a: Circle, angle: number, asDegrees?: boolean, output?: Point) => Point;
39
41
  /**
40
42
  * Gets a point on the circumference of the circle at the specified angle.
41
43
  * @param {Circle} a - The circle to get the point from.
@@ -44,12 +46,12 @@ export declare const circumferencePoint: (a: any, angle: any, asDegrees?: boolea
44
46
  * @param {Point} output - Optional point to store the result in.
45
47
  * @returns {Point} The point on the circumference of the circle.
46
48
  */
47
- export declare const intersectsPoint: (a: any, angle: any, asDegrees?: boolean, output?: any) => any;
49
+ export declare const intersectsPoint: (a: Circle, angle: number, asDegrees?: boolean, output?: Point) => Point;
48
50
  /**
49
51
  * Checks if a circle intersects with a rectangle.
50
52
  * @param {Circle} c - The circle to check.
51
53
  * @param {object} r - The rectangle to check.
52
54
  * @returns {boolean} True if the circle intersects with the rectangle, false otherwise.
53
55
  */
54
- export declare const intersectsRectangle: (c: any, r: any) => boolean;
56
+ export declare const intersectsRectangle: (c: Circle, r: any) => boolean;
55
57
  //# sourceMappingURL=circle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"circle.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/circle.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAMzC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,MAAC,YAO/B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,MAAC,EAAE,MAAC,YAE1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,MAAC,EAAE,MAAC,YAE9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,MAAC,EAAE,UAAK,EAAE,mBAAiB,EAAE,YAAa,QAQ5E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,MAAC,EAAE,UAAK,EAAE,mBAAiB,EAAE,YAAa,QAQzE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,MAAC,EAAE,MAAC,YAoBvC,CAAC"}
1
+ {"version":3,"file":"circle.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/circle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,SAAQ,MAAa,WAMzD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,YAOvD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,YAE1C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,YAE9C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,GAAG,MAAM,EAAE,OAAO,MAAM,EAAE,YAAW,OAAe,EAAE,SAAQ,KAAY,UAQ5G,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,GAAG,MAAM,EAAE,OAAO,MAAM,EAAE,YAAW,OAAe,EAAE,SAAQ,KAAY,UAQzG,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,GAAG,MAAM,EAAE,GAAG,GAAG,YAoBpD,CAAC"}
@@ -5,5 +5,5 @@
5
5
  * @param {number} y - The y coordinate of the point.
6
6
  * @returns {boolean} True if the point is contained within the ellipse, false otherwise.
7
7
  */
8
- export declare const contains: (a: any, x: any, y: any) => boolean;
8
+ export declare const contains: (a: import("../ellipse.js").Ellipse, x: number, y: number) => boolean;
9
9
  //# sourceMappingURL=ellipse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ellipse.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/ellipse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,MAAC,YAU/B,CAAC"}
1
+ {"version":3,"file":"ellipse.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/ellipse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,GAAG,OAAO,eAAe,EAAE,OAAO,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,YAUhF,CAAC"}
@@ -1,10 +1,12 @@
1
+ import { Line } from '../line.js';
2
+ import { Point } from '../point.js';
1
3
  /**
2
4
  * Clones a line.
3
5
  * @param {Line} input - The line to clone.
4
6
  * @param {Line} output - Optional line to store the result in.
5
7
  * @returns {Line} The cloned line.
6
8
  */
7
- export declare const clone: (input: any, output?: any) => any;
9
+ export declare const clone: (input: Line, output?: Line) => Line;
8
10
  /**
9
11
  * Gets the intersection point of two lines.
10
12
  * @param {object} a - The first line (with x1, y1, x2, y2 properties).
@@ -15,7 +17,7 @@ export declare const clone: (input: any, output?: any) => any;
15
17
  * @param {Point} output - Optional point to store the result in.
16
18
  * @returns {Point} The intersection point, or null if there is no intersection.
17
19
  */
18
- export declare const intersectsPoints: (a: any, b: any, e: any, f: any, asSegment?: boolean, output?: any) => any;
20
+ export declare const intersectsPoints: (a: any, b: any, e: any, f: any, asSegment?: boolean, output?: Point) => Point;
19
21
  /**
20
22
  * Gets the intersection point of two lines (alternative implementation).
21
23
  * @param {object} a - The first line (with x1, y1, x2, y2 properties).
@@ -24,7 +26,7 @@ export declare const intersectsPoints: (a: any, b: any, e: any, f: any, asSegmen
24
26
  * @param {Point} result - Optional point to store the result in.
25
27
  * @returns {Point} The intersection point, or null if there is no intersection.
26
28
  */
27
- export declare const intersects: (a: any, b: any, asSegment: any, result: any) => any;
29
+ export declare const intersects: (a: any, b: any, asSegment: boolean, result: Point) => Point;
28
30
  /**
29
31
  * Checks if a line intersects with a rectangle.
30
32
  * @param {object} line - The line to check (with x1, y1, x2, y2 properties).
@@ -1 +1 @@
1
- {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/line.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAOzC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,MAAC,EAAE,MAAC,EAAE,MAAC,EAAE,MAAC,EAAE,mBAAgB,EAAE,YAAa,QAwB3E,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,GAAI,MAAC,EAAE,MAAC,EAAE,cAAS,EAAE,WAAM,QAEjD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,SAAI,EAAE,SAAI,YA8C7C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,MAAC,EAAE,MAAC,WAE3B,CAAC"}
1
+ {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,IAAI,EAAE,SAAQ,IAAW,SAOrD,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,YAAW,OAAc,EAAE,SAAQ,KAAY,UAwB/G,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,GAAI,GAAG,GAAG,EAAE,GAAG,GAAG,EAAE,WAAW,OAAO,EAAE,QAAQ,KAAK,UAE3E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,MAAM,GAAG,EAAE,MAAM,GAAG,YA8CvD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,GAAI,GAAG,GAAG,EAAE,GAAG,GAAG,WAErC,CAAC"}
@@ -1,10 +1,11 @@
1
+ import { Matrix } from '../matrix.js';
1
2
  /**
2
3
  * Clones a matrix.
3
4
  * @param {Matrix} input - The matrix to clone.
4
5
  * @param {Matrix} output - Optional matrix to store the result in.
5
6
  * @returns {Matrix} The cloned matrix.
6
7
  */
7
- export declare const clone: (input: any, output?: any) => any;
8
+ export declare const clone: (input: Matrix, output?: Matrix) => Matrix;
8
9
  /**
9
10
  * Creates a new identity matrix.
10
11
  * @returns {Matrix} A new identity matrix.
@@ -1 +1 @@
1
- {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/matrix.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QASzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAQ7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,WAQzB,CAAC"}
1
+ {"version":3,"file":"matrix.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/matrix.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,SAAQ,MAAa,WASzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAQ7B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,WAQzB,CAAC"}
@@ -6,7 +6,7 @@ import { Point } from '../point.js';
6
6
  * @param {Point} output - The point to store the result in (optional).
7
7
  * @returns {Point} A new point containing the sum of the two points.
8
8
  */
9
- export declare const add: (a: any, b: any, output?: any) => any;
9
+ export declare const add: (a: Point, b: Point, output?: Point) => Point;
10
10
  /**
11
11
  * Subtracts the second point from the first point.
12
12
  * @param {Point} a - The first point to subtract from.
@@ -14,7 +14,7 @@ export declare const add: (a: any, b: any, output?: any) => any;
14
14
  * @param {Point} output - The point to store the result in (optional).
15
15
  * @returns {Point} A new point containing the difference of the two points.
16
16
  */
17
- export declare const subtract: (a: any, b: any, output?: any) => any;
17
+ export declare const subtract: (a: Point, b: Point, output?: Point) => Point;
18
18
  /**
19
19
  * Multiplies two points together.
20
20
  * @param {Point} a - The first point to multiply.
@@ -22,7 +22,7 @@ export declare const subtract: (a: any, b: any, output?: any) => any;
22
22
  * @param {Point} output - The point to store the result in (optional).
23
23
  * @returns {Point} A new point containing the product of the two points.
24
24
  */
25
- export declare const multiply: (a: any, b: any, output?: any) => any;
25
+ export declare const multiply: (a: Point, b: Point, output?: Point) => Point;
26
26
  /**
27
27
  * Divides the first point by the second point.
28
28
  * @param {Point} a - The first point to divide.
@@ -30,28 +30,28 @@ export declare const multiply: (a: any, b: any, output?: any) => any;
30
30
  * @param {Point} output - The point to store the result in (optional).
31
31
  * @returns {Point} A new point containing the quotient of the two points.
32
32
  */
33
- export declare const divide: (a: any, b: any, output?: any) => any;
33
+ export declare const divide: (a: Point, b: Point, output?: Point) => Point;
34
34
  /**
35
35
  * Checks if two points are equal.
36
36
  * @param {Point} a - The first point to compare.
37
37
  * @param {Point} b - The second point to compare.
38
38
  * @returns {boolean} True if the points are equal, false otherwise.
39
39
  */
40
- export declare const equals: (a: any, b: any) => boolean;
40
+ export declare const equals: (a: Point, b: Point) => boolean;
41
41
  /**
42
42
  * Calculates the angle between two points.
43
43
  * @param {Point} a - The first point to calculate the angle from.
44
44
  * @param {Point} b - The second point to calculate the angle to.
45
45
  * @returns {number} The angle between the two points in radians.
46
46
  */
47
- export declare const angle: (a: any, b: any) => number;
47
+ export declare const angle: (a: Point, b: Point) => number;
48
48
  /**
49
49
  * Creates a new point with the same coordinates as the input point but with inverted signs.
50
50
  * @param {Point} a - The point to negate.
51
51
  * @param {Point} output - The point to store the result in (optional).
52
52
  * @returns {Point} A new point with negated coordinates.
53
53
  */
54
- export declare const negative: (a: any, output?: any) => any;
54
+ export declare const negative: (a: Point, output?: Point) => Point;
55
55
  /**
56
56
  * Multiplies the second point by a scalar and adds it to the first point.
57
57
  * @param {Point} a - The first point to add to.
@@ -60,7 +60,7 @@ export declare const negative: (a: any, output?: any) => any;
60
60
  * @param {Point} output - The point to store the result in (optional).
61
61
  * @returns {Point} A new point with the result of the operation.
62
62
  */
63
- export declare const multiplyAdd: (a: any, b: any, s: any, output?: any) => any;
63
+ export declare const multiplyAdd: (a: Point, b: Point, s: number, output?: Point) => Point;
64
64
  /**
65
65
  * Interpolates between two points at a given factor.
66
66
  * @param {Point} a - The first point to interpolate from.
@@ -69,21 +69,21 @@ export declare const multiplyAdd: (a: any, b: any, s: any, output?: any) => any;
69
69
  * @param {Point} output - The point to store the result in (optional).
70
70
  * @returns {Point} A new point interpolated between the two points.
71
71
  */
72
- export declare const interpolate: (a: any, b: any, f: any, output?: any) => any;
72
+ export declare const interpolate: (a: Point, b: Point, f: number, output?: Point) => Point;
73
73
  /**
74
74
  * Returns a perpendicular point (rotated 90 degrees counter-clockwise).
75
75
  * @param {Point} a - The point to calculate the perpendicular for.
76
76
  * @param {Point} output - The point to store the result in (optional).
77
77
  * @returns {Point} A new point that is perpendicular to the input point.
78
78
  */
79
- export declare const perp: (a: any, output?: any) => any;
79
+ export declare const perp: (a: Point, output?: Point) => Point;
80
80
  /**
81
81
  * Returns a perpendicular point (rotated 90 degrees clockwise).
82
82
  * @param {Point} a - The point to calculate the perpendicular for.
83
83
  * @param {Point} output - The point to store the result in (optional).
84
84
  * @returns {Point} A new point that is perpendicular to the input point (rotated clockwise).
85
85
  */
86
- export declare const rperp: (a: any, output?: any) => any;
86
+ export declare const rperp: (a: Point, output?: Point) => Point;
87
87
  /**
88
88
  * Calculates the distance between two points.
89
89
  * @param {Point} a - The first point to calculate the distance from.
@@ -91,7 +91,7 @@ export declare const rperp: (a: any, output?: any) => any;
91
91
  * @param {boolean} round - Whether to round the result (default: false).
92
92
  * @returns {number} The distance between the two points.
93
93
  */
94
- export declare const distance: (a: any, b: any, round?: boolean) => number;
94
+ export declare const distance: (a: Point, b: Point, round?: boolean) => number;
95
95
  /**
96
96
  * Projects the first point onto the second point.
97
97
  * @param {Point} a - The point to project.
@@ -99,7 +99,7 @@ export declare const distance: (a: any, b: any, round?: boolean) => number;
99
99
  * @param {Point} output - The point to store the result in (optional).
100
100
  * @returns {Point} A new point with the projected result.
101
101
  */
102
- export declare const project: (a: any, b: any, output?: any) => any;
102
+ export declare const project: (a: Point, b: Point, output?: Point) => Point;
103
103
  /**
104
104
  * Projects the first point onto the unit vector of the second point.
105
105
  * @param {Point} a - The point to project.
@@ -107,21 +107,21 @@ export declare const project: (a: any, b: any, output?: any) => any;
107
107
  * @param {Point} output - The point to store the result in (optional).
108
108
  * @returns {Point} A new point with the projected result.
109
109
  */
110
- export declare const projectUnit: (a: any, b: any, output?: any) => any;
110
+ export declare const projectUnit: (a: Point, b: Point, output?: Point) => Point;
111
111
  /**
112
112
  * Returns a point with the same direction as the input point but with y coordinate negated.
113
113
  * @param {Point} a - The point to calculate the normal for.
114
114
  * @param {Point} output - The point to store the result in (optional).
115
115
  * @returns {Point} A new point with the same x coordinate but negated y coordinate.
116
116
  */
117
- export declare const normalRightHand: (a: any, output?: any) => any;
117
+ export declare const normalRightHand: (a: Point, output?: Point) => Point;
118
118
  /**
119
119
  * Normalizes the input point to have a magnitude of 1 while preserving its direction.
120
120
  * @param {Point} a - The point to normalize.
121
121
  * @param {Point} output - The point to store the result in (optional).
122
122
  * @returns {Point} A new normalized point.
123
123
  */
124
- export declare const normalize: (a: any, output?: any) => any;
124
+ export declare const normalize: (a: Point, output?: Point) => Point;
125
125
  /**
126
126
  * Rotates a point around another point by a given angle.
127
127
  * @param {Point} a - The point to rotate.
@@ -132,7 +132,7 @@ export declare const normalize: (a: any, output?: any) => any;
132
132
  * @param {number | null | undefined} dist - The distance to rotate from (default: null).
133
133
  * @returns {Point} The rotated point instance for chaining.
134
134
  */
135
- export declare const rotate: (a: any, x: any, y: any, ang: any, asDegrees: any, dist: any) => any;
135
+ export declare const rotate: (a: Point, x: number, y: number, ang: number, asDegrees: boolean, dist: number | null | undefined) => Point;
136
136
  /**
137
137
  * Calculates the centroid (average position) of a set of points.
138
138
  * @param {Point[]} points - The array of points to calculate the centroid for.
@@ -140,7 +140,7 @@ export declare const rotate: (a: any, x: any, y: any, ang: any, asDegrees: any,
140
140
  * @returns {Point} A new point representing the centroid of the input points.
141
141
  * @throws {Error} If the points array is empty.
142
142
  */
143
- export declare const centroid: (points: any, output?: any) => any;
143
+ export declare const centroid: (points: Point[], output?: Point) => Point;
144
144
  /**
145
145
  * Parses an object with x and y properties into a Point.
146
146
  * @param {object} obj - The object to parse (must have x and y properties).
@@ -155,5 +155,5 @@ export declare const parse: (obj: any, xProp?: string, yProp?: string) => Point;
155
155
  * @param {Point} output - The point to store the result in (optional).
156
156
  * @returns {Point} A new point with the same coordinates as the input.
157
157
  */
158
- export declare const clone: (input: any, output?: any) => any;
158
+ export declare const clone: (input: Point, output?: Point) => Point;
159
159
  //# sourceMappingURL=point.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"point.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,GAAG,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAKtC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAK3C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAK3C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,GAAI,MAAC,EAAE,MAAC,EAAE,YAAa,QAKzC,CAAC;AAEF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on } from '../polygon.js';
1
2
  /**
2
3
  * Clones a polygon.
3
4
  * @param {Polygon} input - The polygon to clone.
4
5
  * @param {Polygon} output - Optional polygon to store the result in.
5
6
  * @returns {Polygon} The cloned polygon.
6
7
  */
7
- export declare const clone: (input: any, output?: any) => any;
8
+ export declare const clone: (input: Polygon, output?: Polygon) => Polygon;
8
9
  //# sourceMappingURL=polygon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/polygon.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,UAAK,EAAE,YAAa,QAIzC,CAAC"}
1
+ {"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../../../src/phaser/geom/util/polygon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;;;GAKG;AACH,eAAO,MAAM,KAAK,GAAI,OAAO,OAAO,EAAE,SAAQ,OAAc,YAI3D,CAAC"}