@vpmedia/phaser 1.101.0 → 1.103.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 (477) hide show
  1. package/dist/index.d.ts +38 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +20112 -0
  4. package/dist/index.js.map +1 -0
  5. package/{types → dist}/phaser/core/animation.d.ts +41 -83
  6. package/dist/phaser/core/animation.d.ts.map +1 -0
  7. package/{types → dist}/phaser/core/animation_manager.d.ts +37 -55
  8. package/dist/phaser/core/animation_manager.d.ts.map +1 -0
  9. package/dist/phaser/core/animation_parser.d.ts +21 -0
  10. package/dist/phaser/core/animation_parser.d.ts.map +1 -0
  11. package/{types → dist}/phaser/core/array_set.d.ts +13 -13
  12. package/dist/phaser/core/array_set.d.ts.map +1 -0
  13. package/{types → dist}/phaser/core/cache.d.ts +78 -91
  14. package/dist/phaser/core/cache.d.ts.map +1 -0
  15. package/dist/phaser/core/const.d.ts +262 -0
  16. package/dist/phaser/core/const.d.ts.map +1 -0
  17. package/dist/phaser/core/device.d.ts +8 -0
  18. package/dist/phaser/core/device.d.ts.map +1 -0
  19. package/dist/phaser/core/device_util.d.ts +65 -0
  20. package/dist/phaser/core/device_util.d.ts.map +1 -0
  21. package/dist/phaser/core/dom.d.ts +75 -0
  22. package/dist/phaser/core/dom.d.ts.map +1 -0
  23. package/dist/phaser/core/error_code.d.ts +9 -0
  24. package/dist/phaser/core/error_code.d.ts.map +1 -0
  25. package/{types → dist}/phaser/core/event_manager.d.ts +17 -35
  26. package/dist/phaser/core/event_manager.d.ts.map +1 -0
  27. package/{types → dist}/phaser/core/factory.d.ts +9 -15
  28. package/dist/phaser/core/factory.d.ts.map +1 -0
  29. package/{types → dist}/phaser/core/frame.d.ts +7 -28
  30. package/dist/phaser/core/frame.d.ts.map +1 -0
  31. package/{types → dist}/phaser/core/frame_data.d.ts +12 -15
  32. package/dist/phaser/core/frame_data.d.ts.map +1 -0
  33. package/dist/phaser/core/frame_util.d.ts +15 -0
  34. package/dist/phaser/core/frame_util.d.ts.map +1 -0
  35. package/{types → dist}/phaser/core/game.d.ts +7 -74
  36. package/dist/phaser/core/game.d.ts.map +1 -0
  37. package/dist/phaser/core/input.d.ts +160 -0
  38. package/dist/phaser/core/input.d.ts.map +1 -0
  39. package/{types → dist}/phaser/core/input_handler.d.ts +32 -93
  40. package/dist/phaser/core/input_handler.d.ts.map +1 -0
  41. package/dist/phaser/core/input_mouse.d.ts +61 -0
  42. package/dist/phaser/core/input_mouse.d.ts.map +1 -0
  43. package/dist/phaser/core/input_mspointer.d.ts +51 -0
  44. package/dist/phaser/core/input_mspointer.d.ts.map +1 -0
  45. package/dist/phaser/core/input_pointer.d.ts +106 -0
  46. package/dist/phaser/core/input_pointer.d.ts.map +1 -0
  47. package/dist/phaser/core/input_touch.d.ts +55 -0
  48. package/dist/phaser/core/input_touch.d.ts.map +1 -0
  49. package/{types → dist}/phaser/core/loader.d.ts +39 -78
  50. package/dist/phaser/core/loader.d.ts.map +1 -0
  51. package/dist/phaser/core/loader_parser.d.ts +35 -0
  52. package/dist/phaser/core/loader_parser.d.ts.map +1 -0
  53. package/{types → dist}/phaser/core/raf.d.ts +5 -5
  54. package/dist/phaser/core/raf.d.ts.map +1 -0
  55. package/{types → dist}/phaser/core/scale_manager.d.ts +41 -124
  56. package/dist/phaser/core/scale_manager.d.ts.map +1 -0
  57. package/{types → dist}/phaser/core/scene.d.ts +6 -4
  58. package/dist/phaser/core/scene.d.ts.map +1 -0
  59. package/{types → dist}/phaser/core/scene_manager.d.ts +12 -29
  60. package/dist/phaser/core/scene_manager.d.ts.map +1 -0
  61. package/{types → dist}/phaser/core/signal.d.ts +21 -17
  62. package/dist/phaser/core/signal.d.ts.map +1 -0
  63. package/{types → dist}/phaser/core/signal_binding.d.ts +15 -15
  64. package/dist/phaser/core/signal_binding.d.ts.map +1 -0
  65. package/{types → dist}/phaser/core/sound.d.ts +22 -75
  66. package/dist/phaser/core/sound.d.ts.map +1 -0
  67. package/{types → dist}/phaser/core/sound_manager.d.ts +20 -43
  68. package/dist/phaser/core/sound_manager.d.ts.map +1 -0
  69. package/dist/phaser/core/sound_sprite.d.ts +27 -0
  70. package/dist/phaser/core/sound_sprite.d.ts.map +1 -0
  71. package/{types → dist}/phaser/core/stage.d.ts +29 -17
  72. package/dist/phaser/core/stage.d.ts.map +1 -0
  73. package/{types → dist}/phaser/core/time.d.ts +12 -64
  74. package/dist/phaser/core/time.d.ts.map +1 -0
  75. package/{types → dist}/phaser/core/timer.d.ts +14 -54
  76. package/dist/phaser/core/timer.d.ts.map +1 -0
  77. package/{types → dist}/phaser/core/timer_event.d.ts +2 -11
  78. package/dist/phaser/core/timer_event.d.ts.map +1 -0
  79. package/{types → dist}/phaser/core/tween.d.ts +21 -62
  80. package/dist/phaser/core/tween.d.ts.map +1 -0
  81. package/{types → dist}/phaser/core/tween_data.d.ts +9 -35
  82. package/dist/phaser/core/tween_data.d.ts.map +1 -0
  83. package/dist/phaser/core/tween_easing.d.ts +187 -0
  84. package/dist/phaser/core/tween_easing.d.ts.map +1 -0
  85. package/{types → dist}/phaser/core/tween_manager.d.ts +9 -18
  86. package/dist/phaser/core/tween_manager.d.ts.map +1 -0
  87. package/{types → dist}/phaser/core/world.d.ts +3 -3
  88. package/dist/phaser/core/world.d.ts.map +1 -0
  89. package/{types → dist}/phaser/display/bitmap_text.d.ts +52 -71
  90. package/dist/phaser/display/bitmap_text.d.ts.map +1 -0
  91. package/{types → dist}/phaser/display/button.d.ts +25 -37
  92. package/dist/phaser/display/button.d.ts.map +1 -0
  93. package/{types → dist}/phaser/display/canvas/buffer.d.ts +3 -7
  94. package/dist/phaser/display/canvas/buffer.d.ts.map +1 -0
  95. package/dist/phaser/display/canvas/graphics.d.ts +18 -0
  96. package/dist/phaser/display/canvas/graphics.d.ts.map +1 -0
  97. package/dist/phaser/display/canvas/masker.d.ts +12 -0
  98. package/dist/phaser/display/canvas/masker.d.ts.map +1 -0
  99. package/dist/phaser/display/canvas/pool.d.ts +40 -0
  100. package/dist/phaser/display/canvas/pool.d.ts.map +1 -0
  101. package/{types → dist}/phaser/display/canvas/renderer.d.ts +6 -28
  102. package/dist/phaser/display/canvas/renderer.d.ts.map +1 -0
  103. package/dist/phaser/display/canvas/tinter.d.ts +41 -0
  104. package/dist/phaser/display/canvas/tinter.d.ts.map +1 -0
  105. package/dist/phaser/display/canvas/util.d.ts +70 -0
  106. package/dist/phaser/display/canvas/util.d.ts.map +1 -0
  107. package/{types → dist}/phaser/display/display_object.d.ts +63 -124
  108. package/dist/phaser/display/display_object.d.ts.map +1 -0
  109. package/{types → dist}/phaser/display/graphics.d.ts +59 -65
  110. package/dist/phaser/display/graphics.d.ts.map +1 -0
  111. package/{types → dist}/phaser/display/graphics_data.d.ts +2 -12
  112. package/dist/phaser/display/graphics_data.d.ts.map +1 -0
  113. package/dist/phaser/display/graphics_data_util.d.ts +8 -0
  114. package/dist/phaser/display/graphics_data_util.d.ts.map +1 -0
  115. package/{types → dist}/phaser/display/group.d.ts +27 -45
  116. package/dist/phaser/display/group.d.ts.map +1 -0
  117. package/{types → dist}/phaser/display/image.d.ts +54 -53
  118. package/dist/phaser/display/image.d.ts.map +1 -0
  119. package/dist/phaser/display/sprite_batch.d.ts +9 -0
  120. package/dist/phaser/display/sprite_batch.d.ts.map +1 -0
  121. package/dist/phaser/display/sprite_util.d.ts +35 -0
  122. package/dist/phaser/display/sprite_util.d.ts.map +1 -0
  123. package/{types → dist}/phaser/display/text.d.ts +176 -181
  124. package/dist/phaser/display/text.d.ts.map +1 -0
  125. package/{types → dist}/phaser/display/webgl/abstract_filter.d.ts +2 -8
  126. package/dist/phaser/display/webgl/abstract_filter.d.ts.map +1 -0
  127. package/{types → dist}/phaser/display/webgl/base_texture.d.ts +3 -15
  128. package/dist/phaser/display/webgl/base_texture.d.ts.map +1 -0
  129. package/{types → dist}/phaser/display/webgl/blend_manager.d.ts +7 -5
  130. package/dist/phaser/display/webgl/blend_manager.d.ts.map +1 -0
  131. package/{types → dist}/phaser/display/webgl/earcut.d.ts +28 -27
  132. package/dist/phaser/display/webgl/earcut.d.ts.map +1 -0
  133. package/{types → dist}/phaser/display/webgl/earcut_node.d.ts +11 -11
  134. package/dist/phaser/display/webgl/earcut_node.d.ts.map +1 -0
  135. package/{types → dist}/phaser/display/webgl/fast_sprite_batch.d.ts +6 -28
  136. package/dist/phaser/display/webgl/fast_sprite_batch.d.ts.map +1 -0
  137. package/{types → dist}/phaser/display/webgl/filter_manager.d.ts +6 -7
  138. package/dist/phaser/display/webgl/filter_manager.d.ts.map +1 -0
  139. package/{types → dist}/phaser/display/webgl/filter_texture.d.ts +3 -9
  140. package/dist/phaser/display/webgl/filter_texture.d.ts.map +1 -0
  141. package/dist/phaser/display/webgl/graphics.d.ts +78 -0
  142. package/dist/phaser/display/webgl/graphics.d.ts.map +1 -0
  143. package/dist/phaser/display/webgl/graphics_data.d.ts +16 -0
  144. package/dist/phaser/display/webgl/graphics_data.d.ts.map +1 -0
  145. package/dist/phaser/display/webgl/mask_manager.d.ts +13 -0
  146. package/dist/phaser/display/webgl/mask_manager.d.ts.map +1 -0
  147. package/{types → dist}/phaser/display/webgl/render_texture.d.ts +5 -13
  148. package/dist/phaser/display/webgl/render_texture.d.ts.map +1 -0
  149. package/dist/phaser/display/webgl/renderer.d.ts +51 -0
  150. package/dist/phaser/display/webgl/renderer.d.ts.map +1 -0
  151. package/dist/phaser/display/webgl/shader/complex.d.ts +16 -0
  152. package/dist/phaser/display/webgl/shader/complex.d.ts.map +1 -0
  153. package/dist/phaser/display/webgl/shader/fast.d.ts +16 -0
  154. package/dist/phaser/display/webgl/shader/fast.d.ts.map +1 -0
  155. package/dist/phaser/display/webgl/shader/normal.d.ts +29 -0
  156. package/dist/phaser/display/webgl/shader/normal.d.ts.map +1 -0
  157. package/dist/phaser/display/webgl/shader/primitive.d.ts +16 -0
  158. package/dist/phaser/display/webgl/shader/primitive.d.ts.map +1 -0
  159. package/dist/phaser/display/webgl/shader/strip.d.ts +16 -0
  160. package/dist/phaser/display/webgl/shader/strip.d.ts.map +1 -0
  161. package/dist/phaser/display/webgl/shader_manager.d.ts +27 -0
  162. package/dist/phaser/display/webgl/shader_manager.d.ts.map +1 -0
  163. package/{types → dist}/phaser/display/webgl/sprite_batch.d.ts +9 -32
  164. package/dist/phaser/display/webgl/sprite_batch.d.ts.map +1 -0
  165. package/{types → dist}/phaser/display/webgl/stencil_manager.d.ts +9 -9
  166. package/dist/phaser/display/webgl/stencil_manager.d.ts.map +1 -0
  167. package/dist/phaser/display/webgl/texture.d.ts +36 -0
  168. package/dist/phaser/display/webgl/texture.d.ts.map +1 -0
  169. package/dist/phaser/display/webgl/texture_util.d.ts +17 -0
  170. package/dist/phaser/display/webgl/texture_util.d.ts.map +1 -0
  171. package/dist/phaser/display/webgl/util.d.ts +54 -0
  172. package/dist/phaser/display/webgl/util.d.ts.map +1 -0
  173. package/{types → dist}/phaser/geom/circle.d.ts +35 -41
  174. package/dist/phaser/geom/circle.d.ts.map +1 -0
  175. package/{types → dist}/phaser/geom/ellipse.d.ts +12 -18
  176. package/dist/phaser/geom/ellipse.d.ts.map +1 -0
  177. package/{types → dist}/phaser/geom/line.d.ts +20 -23
  178. package/dist/phaser/geom/line.d.ts.map +1 -0
  179. package/{types → dist}/phaser/geom/matrix.d.ts +21 -29
  180. package/dist/phaser/geom/matrix.d.ts.map +1 -0
  181. package/{types → dist}/phaser/geom/point.d.ts +30 -33
  182. package/dist/phaser/geom/point.d.ts.map +1 -0
  183. package/{types → dist}/phaser/geom/polygon.d.ts +18 -24
  184. package/dist/phaser/geom/polygon.d.ts.map +1 -0
  185. package/{types → dist}/phaser/geom/rectangle.d.ts +74 -79
  186. package/dist/phaser/geom/rectangle.d.ts.map +1 -0
  187. package/{types → dist}/phaser/geom/rounded_rectangle.d.ts +9 -9
  188. package/dist/phaser/geom/rounded_rectangle.d.ts.map +1 -0
  189. package/dist/phaser/geom/util/circle.d.ts +55 -0
  190. package/dist/phaser/geom/util/circle.d.ts.map +1 -0
  191. package/dist/phaser/geom/util/ellipse.d.ts +9 -0
  192. package/dist/phaser/geom/util/ellipse.d.ts.map +1 -0
  193. package/dist/phaser/geom/util/line.d.ts +42 -0
  194. package/dist/phaser/geom/util/line.d.ts.map +1 -0
  195. package/dist/phaser/geom/util/matrix.d.ts +18 -0
  196. package/dist/phaser/geom/util/matrix.d.ts.map +1 -0
  197. package/dist/phaser/geom/util/point.d.ts +159 -0
  198. package/dist/phaser/geom/util/point.d.ts.map +1 -0
  199. package/dist/phaser/geom/util/polygon.d.ts +8 -0
  200. package/dist/phaser/geom/util/polygon.d.ts.map +1 -0
  201. package/dist/phaser/geom/util/rectangle.d.ts +123 -0
  202. package/dist/phaser/geom/util/rectangle.d.ts.map +1 -0
  203. package/dist/phaser/geom/util/rounded_rectangle.d.ts +8 -0
  204. package/dist/phaser/geom/util/rounded_rectangle.d.ts.map +1 -0
  205. package/dist/phaser/util/math.d.ts +154 -0
  206. package/dist/phaser/util/math.d.ts.map +1 -0
  207. package/package.json +32 -25
  208. package/src/phaser/core/{animation.js → animation.ts} +2 -1
  209. package/src/phaser/core/{animation_manager.js → animation_manager.ts} +2 -1
  210. package/src/phaser/core/{array_set.js → array_set.ts} +4 -1
  211. package/src/phaser/core/{cache.js → cache.ts} +2 -1
  212. package/src/phaser/core/{device.js → device.ts} +2 -1
  213. package/src/phaser/core/{dom.js → dom.ts} +7 -0
  214. package/src/phaser/core/{event_manager.js → event_manager.ts} +2 -1
  215. package/src/phaser/core/{factory.js → factory.ts} +1 -0
  216. package/src/phaser/core/{frame.js → frame.ts} +2 -1
  217. package/src/phaser/core/{frame_data.js → frame_data.ts} +2 -1
  218. package/src/phaser/core/{frame_util.js → frame_util.ts} +2 -1
  219. package/src/phaser/core/{game.js → game.ts} +1 -0
  220. package/src/phaser/core/{input.js → input.ts} +1 -0
  221. package/src/phaser/core/{input_handler.js → input_handler.ts} +1 -0
  222. package/src/phaser/core/{input_mouse.js → input_mouse.ts} +1 -0
  223. package/src/phaser/core/{input_mspointer.js → input_mspointer.ts} +1 -0
  224. package/src/phaser/core/{input_pointer.js → input_pointer.ts} +1 -0
  225. package/src/phaser/core/{input_touch.js → input_touch.ts} +1 -0
  226. package/src/phaser/core/{loader.js → loader.ts} +2 -1
  227. package/src/phaser/core/{loader_parser.js → loader_parser.ts} +2 -1
  228. package/src/phaser/core/{raf.js → raf.ts} +3 -0
  229. package/src/phaser/core/{scale_manager.js → scale_manager.ts} +1 -0
  230. package/src/phaser/core/{scene.js → scene.ts} +1 -0
  231. package/src/phaser/core/{scene_manager.js → scene_manager.ts} +1 -0
  232. package/src/phaser/core/{signal.js → signal.ts} +7 -0
  233. package/src/phaser/core/{signal_binding.js → signal_binding.ts} +10 -0
  234. package/src/phaser/core/{sound.js → sound.ts} +2 -1
  235. package/src/phaser/core/{sound_manager.js → sound_manager.ts} +2 -1
  236. package/src/phaser/core/{sound_sprite.js → sound_sprite.ts} +2 -1
  237. package/src/phaser/core/{stage.js → stage.ts} +1 -0
  238. package/src/phaser/core/{time.js → time.ts} +2 -1
  239. package/src/phaser/core/{timer.js → timer.ts} +2 -1
  240. package/src/phaser/core/{timer_event.js → timer_event.ts} +2 -1
  241. package/src/phaser/core/{tween.js → tween.ts} +2 -1
  242. package/src/phaser/core/{tween_data.js → tween_data.ts} +2 -1
  243. package/src/phaser/core/{tween_manager.js → tween_manager.ts} +2 -1
  244. package/src/phaser/core/{world.js → world.ts} +1 -0
  245. package/src/phaser/display/{bitmap_text.js → bitmap_text.ts} +1 -0
  246. package/src/phaser/display/{button.js → button.ts} +1 -0
  247. package/src/phaser/display/canvas/{buffer.js → buffer.ts} +1 -0
  248. package/src/phaser/display/canvas/{graphics.js → graphics.ts} +1 -0
  249. package/src/phaser/display/canvas/{masker.js → masker.ts} +1 -0
  250. package/src/phaser/display/canvas/{pool.js → pool.ts} +1 -0
  251. package/src/phaser/display/canvas/{renderer.js → renderer.ts} +1 -0
  252. package/src/phaser/display/canvas/{tinter.js → tinter.ts} +1 -0
  253. package/src/phaser/display/{display_object.js → display_object.ts} +1 -0
  254. package/src/phaser/display/{graphics.js → graphics.ts} +1 -0
  255. package/src/phaser/display/{graphics_data.js → graphics_data.ts} +1 -0
  256. package/src/phaser/display/{graphics_data_util.js → graphics_data_util.ts} +1 -0
  257. package/src/phaser/display/{group.js → group.ts} +1 -0
  258. package/src/phaser/display/{image.js → image.ts} +1 -0
  259. package/src/phaser/display/{sprite_batch.js → sprite_batch.ts} +1 -0
  260. package/src/phaser/display/{sprite_util.js → sprite_util.ts} +1 -0
  261. package/src/phaser/display/{text.js → text.ts} +1 -0
  262. package/src/phaser/display/webgl/{abstract_filter.js → abstract_filter.ts} +1 -0
  263. package/src/phaser/display/webgl/{base_texture.js → base_texture.ts} +1 -0
  264. package/src/phaser/display/webgl/{blend_manager.js → blend_manager.ts} +1 -0
  265. package/src/phaser/display/webgl/{earcut.js → earcut.ts} +2 -2
  266. package/src/phaser/display/webgl/{earcut_node.js → earcut_node.ts} +10 -0
  267. package/src/phaser/display/webgl/{fast_sprite_batch.js → fast_sprite_batch.ts} +1 -0
  268. package/src/phaser/display/webgl/{filter_manager.js → filter_manager.ts} +1 -0
  269. package/src/phaser/display/webgl/{filter_texture.js → filter_texture.ts} +1 -0
  270. package/src/phaser/display/webgl/{graphics.js → graphics.ts} +1 -0
  271. package/src/phaser/display/webgl/{graphics_data.js → graphics_data.ts} +1 -0
  272. package/src/phaser/display/webgl/{mask_manager.js → mask_manager.ts} +1 -0
  273. package/src/phaser/display/webgl/{render_texture.js → render_texture.ts} +1 -0
  274. package/src/phaser/display/webgl/{renderer.js → renderer.ts} +1 -0
  275. package/src/phaser/display/webgl/shader/{complex.js → complex.ts} +1 -0
  276. package/src/phaser/display/webgl/shader/{fast.js → fast.ts} +1 -0
  277. package/src/phaser/display/webgl/shader/{normal.js → normal.ts} +1 -0
  278. package/src/phaser/display/webgl/shader/{primitive.js → primitive.ts} +1 -0
  279. package/src/phaser/display/webgl/shader/{strip.js → strip.ts} +1 -0
  280. package/src/phaser/display/webgl/{shader_manager.js → shader_manager.ts} +1 -0
  281. package/src/phaser/display/webgl/{sprite_batch.js → sprite_batch.ts} +1 -0
  282. package/src/phaser/display/webgl/{stencil_manager.js → stencil_manager.ts} +1 -0
  283. package/src/phaser/display/webgl/{texture.js → texture.ts} +1 -0
  284. package/src/phaser/display/webgl/{texture_util.js → texture_util.ts} +1 -0
  285. package/src/phaser/geom/{circle.js → circle.ts} +7 -1
  286. package/src/phaser/geom/{ellipse.js → ellipse.ts} +6 -0
  287. package/src/phaser/geom/{line.js → line.ts} +4 -0
  288. package/src/phaser/geom/{matrix.js → matrix.ts} +8 -0
  289. package/src/phaser/geom/{point.js → point.ts} +5 -1
  290. package/src/phaser/geom/{polygon.js → polygon.ts} +6 -0
  291. package/src/phaser/geom/{rectangle.js → rectangle.ts} +10 -4
  292. package/src/phaser/geom/{rounded_rectangle.js → rounded_rectangle.ts} +7 -0
  293. package/CHANGELOG.md +0 -264
  294. package/SECURITY.md +0 -5
  295. package/typedefs/global.d.ts +0 -7
  296. package/types/index.d.ts +0 -38
  297. package/types/index.d.ts.map +0 -1
  298. package/types/phaser/core/animation.d.ts.map +0 -1
  299. package/types/phaser/core/animation_manager.d.ts.map +0 -1
  300. package/types/phaser/core/animation_parser.d.ts +0 -4
  301. package/types/phaser/core/animation_parser.d.ts.map +0 -1
  302. package/types/phaser/core/array_set.d.ts.map +0 -1
  303. package/types/phaser/core/cache.d.ts.map +0 -1
  304. package/types/phaser/core/const.d.ts +0 -262
  305. package/types/phaser/core/const.d.ts.map +0 -1
  306. package/types/phaser/core/device.d.ts +0 -96
  307. package/types/phaser/core/device.d.ts.map +0 -1
  308. package/types/phaser/core/device_util.d.ts +0 -13
  309. package/types/phaser/core/device_util.d.ts.map +0 -1
  310. package/types/phaser/core/dom.d.ts +0 -180
  311. package/types/phaser/core/dom.d.ts.map +0 -1
  312. package/types/phaser/core/error_code.d.ts +0 -9
  313. package/types/phaser/core/error_code.d.ts.map +0 -1
  314. package/types/phaser/core/event_manager.d.ts.map +0 -1
  315. package/types/phaser/core/factory.d.ts.map +0 -1
  316. package/types/phaser/core/frame.d.ts.map +0 -1
  317. package/types/phaser/core/frame_data.d.ts.map +0 -1
  318. package/types/phaser/core/frame_util.d.ts +0 -5
  319. package/types/phaser/core/frame_util.d.ts.map +0 -1
  320. package/types/phaser/core/game.d.ts.map +0 -1
  321. package/types/phaser/core/input.d.ts +0 -219
  322. package/types/phaser/core/input.d.ts.map +0 -1
  323. package/types/phaser/core/input_handler.d.ts.map +0 -1
  324. package/types/phaser/core/input_mouse.d.ts +0 -86
  325. package/types/phaser/core/input_mouse.d.ts.map +0 -1
  326. package/types/phaser/core/input_mspointer.d.ts +0 -67
  327. package/types/phaser/core/input_mspointer.d.ts.map +0 -1
  328. package/types/phaser/core/input_pointer.d.ts +0 -170
  329. package/types/phaser/core/input_pointer.d.ts.map +0 -1
  330. package/types/phaser/core/input_touch.d.ts +0 -73
  331. package/types/phaser/core/input_touch.d.ts.map +0 -1
  332. package/types/phaser/core/loader.d.ts.map +0 -1
  333. package/types/phaser/core/loader_parser.d.ts +0 -5
  334. package/types/phaser/core/loader_parser.d.ts.map +0 -1
  335. package/types/phaser/core/raf.d.ts.map +0 -1
  336. package/types/phaser/core/scale_manager.d.ts.map +0 -1
  337. package/types/phaser/core/scene.d.ts.map +0 -1
  338. package/types/phaser/core/scene_manager.d.ts.map +0 -1
  339. package/types/phaser/core/signal.d.ts.map +0 -1
  340. package/types/phaser/core/signal_binding.d.ts.map +0 -1
  341. package/types/phaser/core/sound.d.ts.map +0 -1
  342. package/types/phaser/core/sound_manager.d.ts.map +0 -1
  343. package/types/phaser/core/sound_sprite.d.ts +0 -36
  344. package/types/phaser/core/sound_sprite.d.ts.map +0 -1
  345. package/types/phaser/core/stage.d.ts.map +0 -1
  346. package/types/phaser/core/time.d.ts.map +0 -1
  347. package/types/phaser/core/timer.d.ts.map +0 -1
  348. package/types/phaser/core/timer_event.d.ts.map +0 -1
  349. package/types/phaser/core/tween.d.ts.map +0 -1
  350. package/types/phaser/core/tween_data.d.ts.map +0 -1
  351. package/types/phaser/core/tween_easing.d.ts +0 -32
  352. package/types/phaser/core/tween_easing.d.ts.map +0 -1
  353. package/types/phaser/core/tween_manager.d.ts.map +0 -1
  354. package/types/phaser/core/world.d.ts.map +0 -1
  355. package/types/phaser/display/bitmap_text.d.ts.map +0 -1
  356. package/types/phaser/display/button.d.ts.map +0 -1
  357. package/types/phaser/display/canvas/buffer.d.ts.map +0 -1
  358. package/types/phaser/display/canvas/graphics.d.ts +0 -4
  359. package/types/phaser/display/canvas/graphics.d.ts.map +0 -1
  360. package/types/phaser/display/canvas/masker.d.ts +0 -3
  361. package/types/phaser/display/canvas/masker.d.ts.map +0 -1
  362. package/types/phaser/display/canvas/pool.d.ts +0 -11
  363. package/types/phaser/display/canvas/pool.d.ts.map +0 -1
  364. package/types/phaser/display/canvas/renderer.d.ts.map +0 -1
  365. package/types/phaser/display/canvas/tinter.d.ts +0 -7
  366. package/types/phaser/display/canvas/tinter.d.ts.map +0 -1
  367. package/types/phaser/display/canvas/util.d.ts +0 -10
  368. package/types/phaser/display/canvas/util.d.ts.map +0 -1
  369. package/types/phaser/display/display_object.d.ts.map +0 -1
  370. package/types/phaser/display/graphics.d.ts.map +0 -1
  371. package/types/phaser/display/graphics_data.d.ts.map +0 -1
  372. package/types/phaser/display/graphics_data_util.d.ts +0 -3
  373. package/types/phaser/display/graphics_data_util.d.ts.map +0 -1
  374. package/types/phaser/display/group.d.ts.map +0 -1
  375. package/types/phaser/display/image.d.ts.map +0 -1
  376. package/types/phaser/display/sprite_batch.d.ts +0 -4
  377. package/types/phaser/display/sprite_batch.d.ts.map +0 -1
  378. package/types/phaser/display/sprite_util.d.ts +0 -6
  379. package/types/phaser/display/sprite_util.d.ts.map +0 -1
  380. package/types/phaser/display/text.d.ts.map +0 -1
  381. package/types/phaser/display/webgl/abstract_filter.d.ts.map +0 -1
  382. package/types/phaser/display/webgl/base_texture.d.ts.map +0 -1
  383. package/types/phaser/display/webgl/blend_manager.d.ts.map +0 -1
  384. package/types/phaser/display/webgl/earcut.d.ts.map +0 -1
  385. package/types/phaser/display/webgl/earcut_node.d.ts.map +0 -1
  386. package/types/phaser/display/webgl/fast_sprite_batch.d.ts.map +0 -1
  387. package/types/phaser/display/webgl/filter_manager.d.ts.map +0 -1
  388. package/types/phaser/display/webgl/filter_texture.d.ts.map +0 -1
  389. package/types/phaser/display/webgl/graphics.d.ts +0 -16
  390. package/types/phaser/display/webgl/graphics.d.ts.map +0 -1
  391. package/types/phaser/display/webgl/graphics_data.d.ts +0 -27
  392. package/types/phaser/display/webgl/graphics_data.d.ts.map +0 -1
  393. package/types/phaser/display/webgl/mask_manager.d.ts +0 -3
  394. package/types/phaser/display/webgl/mask_manager.d.ts.map +0 -1
  395. package/types/phaser/display/webgl/render_texture.d.ts.map +0 -1
  396. package/types/phaser/display/webgl/renderer.d.ts +0 -87
  397. package/types/phaser/display/webgl/renderer.d.ts.map +0 -1
  398. package/types/phaser/display/webgl/shader/complex.d.ts +0 -33
  399. package/types/phaser/display/webgl/shader/complex.d.ts.map +0 -1
  400. package/types/phaser/display/webgl/shader/fast.d.ts +0 -36
  401. package/types/phaser/display/webgl/shader/fast.d.ts.map +0 -1
  402. package/types/phaser/display/webgl/shader/normal.d.ts +0 -52
  403. package/types/phaser/display/webgl/shader/normal.d.ts.map +0 -1
  404. package/types/phaser/display/webgl/shader/primitive.d.ts +0 -32
  405. package/types/phaser/display/webgl/shader/primitive.d.ts.map +0 -1
  406. package/types/phaser/display/webgl/shader/strip.d.ts +0 -33
  407. package/types/phaser/display/webgl/shader/strip.d.ts.map +0 -1
  408. package/types/phaser/display/webgl/shader_manager.d.ts +0 -44
  409. package/types/phaser/display/webgl/shader_manager.d.ts.map +0 -1
  410. package/types/phaser/display/webgl/sprite_batch.d.ts.map +0 -1
  411. package/types/phaser/display/webgl/stencil_manager.d.ts.map +0 -1
  412. package/types/phaser/display/webgl/texture.d.ts +0 -63
  413. package/types/phaser/display/webgl/texture.d.ts.map +0 -1
  414. package/types/phaser/display/webgl/texture_util.d.ts +0 -5
  415. package/types/phaser/display/webgl/texture_util.d.ts.map +0 -1
  416. package/types/phaser/display/webgl/util.d.ts +0 -15
  417. package/types/phaser/display/webgl/util.d.ts.map +0 -1
  418. package/types/phaser/geom/circle.d.ts.map +0 -1
  419. package/types/phaser/geom/ellipse.d.ts.map +0 -1
  420. package/types/phaser/geom/line.d.ts.map +0 -1
  421. package/types/phaser/geom/matrix.d.ts.map +0 -1
  422. package/types/phaser/geom/point.d.ts.map +0 -1
  423. package/types/phaser/geom/polygon.d.ts.map +0 -1
  424. package/types/phaser/geom/rectangle.d.ts.map +0 -1
  425. package/types/phaser/geom/rounded_rectangle.d.ts.map +0 -1
  426. package/types/phaser/geom/util/circle.d.ts +0 -10
  427. package/types/phaser/geom/util/circle.d.ts.map +0 -1
  428. package/types/phaser/geom/util/ellipse.d.ts +0 -2
  429. package/types/phaser/geom/util/ellipse.d.ts.map +0 -1
  430. package/types/phaser/geom/util/line.d.ts +0 -8
  431. package/types/phaser/geom/util/line.d.ts.map +0 -1
  432. package/types/phaser/geom/util/matrix.d.ts +0 -5
  433. package/types/phaser/geom/util/matrix.d.ts.map +0 -1
  434. package/types/phaser/geom/util/point.d.ts +0 -22
  435. package/types/phaser/geom/util/point.d.ts.map +0 -1
  436. package/types/phaser/geom/util/polygon.d.ts +0 -3
  437. package/types/phaser/geom/util/polygon.d.ts.map +0 -1
  438. package/types/phaser/geom/util/rectangle.d.ts +0 -19
  439. package/types/phaser/geom/util/rectangle.d.ts.map +0 -1
  440. package/types/phaser/geom/util/rounded_rectangle.d.ts +0 -3
  441. package/types/phaser/geom/util/rounded_rectangle.d.ts.map +0 -1
  442. package/types/phaser/util/math.d.ts +0 -58
  443. package/types/phaser/util/math.d.ts.map +0 -1
  444. /package/src/{index.js → index.ts} +0 -0
  445. /package/src/phaser/core/{animation_parser.js → animation_parser.ts} +0 -0
  446. /package/src/phaser/core/{const.js → const.ts} +0 -0
  447. /package/src/phaser/core/{device_util.js → device_util.ts} +0 -0
  448. /package/src/phaser/core/{error_code.js → error_code.ts} +0 -0
  449. /package/src/phaser/core/{signal.test.js → signal.test.ts} +0 -0
  450. /package/src/phaser/core/{tween_easing.js → tween_easing.ts} +0 -0
  451. /package/src/phaser/display/canvas/{util.js → util.ts} +0 -0
  452. /package/src/phaser/display/webgl/{util.js → util.ts} +0 -0
  453. /package/src/phaser/geom/{circle.test.js → circle.test.ts} +0 -0
  454. /package/src/phaser/geom/{ellipse.test.js → ellipse.test.ts} +0 -0
  455. /package/src/phaser/geom/{line.test.js → line.test.ts} +0 -0
  456. /package/src/phaser/geom/{matrix.test.js → matrix.test.ts} +0 -0
  457. /package/src/phaser/geom/{point.test.js → point.test.ts} +0 -0
  458. /package/src/phaser/geom/{rectangle.test.js → rectangle.test.ts} +0 -0
  459. /package/src/phaser/geom/{rounded_rectangle.test.js → rounded_rectangle.test.ts} +0 -0
  460. /package/src/phaser/geom/util/{circle.test.js → circle.test.ts} +0 -0
  461. /package/src/phaser/geom/util/{circle.js → circle.ts} +0 -0
  462. /package/src/phaser/geom/util/{ellipse.test.js → ellipse.test.ts} +0 -0
  463. /package/src/phaser/geom/util/{ellipse.js → ellipse.ts} +0 -0
  464. /package/src/phaser/geom/util/{line.test.js → line.test.ts} +0 -0
  465. /package/src/phaser/geom/util/{line.js → line.ts} +0 -0
  466. /package/src/phaser/geom/util/{matrix.test.js → matrix.test.ts} +0 -0
  467. /package/src/phaser/geom/util/{matrix.js → matrix.ts} +0 -0
  468. /package/src/phaser/geom/util/{point.test.js → point.test.ts} +0 -0
  469. /package/src/phaser/geom/util/{point.js → point.ts} +0 -0
  470. /package/src/phaser/geom/util/{polygon.test.js → polygon.test.ts} +0 -0
  471. /package/src/phaser/geom/util/{polygon.js → polygon.ts} +0 -0
  472. /package/src/phaser/geom/util/{rectangle.test.js → rectangle.test.ts} +0 -0
  473. /package/src/phaser/geom/util/{rectangle.js → rectangle.ts} +0 -0
  474. /package/src/phaser/geom/util/{rounded_rectangle.test.js → rounded_rectangle.test.ts} +0 -0
  475. /package/src/phaser/geom/util/{rounded_rectangle.js → rounded_rectangle.ts} +0 -0
  476. /package/src/phaser/util/{math.test.js → math.test.ts} +0 -0
  477. /package/src/phaser/util/{math.js → math.ts} +0 -0
@@ -1,44 +1,17 @@
1
- export class Graphics extends DisplayObject {
1
+ import { DisplayObject } from './display_object.js';
2
+ import { GraphicsData } from './graphics_data.js';
3
+ export declare class Graphics extends DisplayObject {
2
4
  /**
3
5
  * Creates a new Graphics object.
4
6
  * @param {import('../core/game.js').Game} game - The game instance.
5
7
  * @param {number} x - The x coordinate of the graphics object.
6
8
  * @param {number} y - The y coordinate of the graphics object.
7
9
  */
8
- constructor(game: import("../core/game.js").Game, x?: number, y?: number);
9
- /** @type {number} */
10
- type: number;
11
- /** @type {number} */
12
- fillAlpha: number;
13
- /** @type {number} */
14
- lineWidth: number;
15
- /** @type {number} */
16
- lineColor: number;
17
- graphicsData: any[];
18
- /** @type {number} */
19
- tint: number;
20
- /** @type {number} */
21
- blendMode: number;
22
- /** @type {GraphicsData} */
23
- currentPath: GraphicsData;
24
- /** @type {object[]} */
25
- _webGL: object[];
26
- /** @type {boolean} */
27
- isMask: boolean;
28
- /** @type {number} */
29
- boundsPadding: number;
30
- /** @type {Rectangle} */
31
- _localBounds: Rectangle;
32
- /** @type {boolean} */
33
- dirty: boolean;
34
- /** @type {boolean} */
35
- _boundsDirty: boolean;
36
- /** @type {boolean} */
37
- _cacheAsBitmap: boolean;
38
- /** @type {boolean} */
39
- webGLDirty: boolean;
40
- /** @type {boolean} */
41
- cachedSpriteDirty: boolean;
10
+ constructor(game: any, x?: number, y?: number);
11
+ /**
12
+ * Destroys the graphics object and clears all data.
13
+ */
14
+ destroy(): void;
42
15
  /**
43
16
  * Sets the line style for subsequent drawing operations.
44
17
  * @param {number} lineWidth - The width of the line to draw.
@@ -46,22 +19,21 @@ export class Graphics extends DisplayObject {
46
19
  * @param {number} alpha - The alpha (transparency) of the line to draw.
47
20
  * @returns {Graphics} This Graphics object for chaining.
48
21
  */
49
- lineStyle(lineWidth?: number, color?: number, alpha?: number): Graphics;
50
- lineAlpha: number;
22
+ lineStyle(lineWidth?: number, color?: number, alpha?: number): this;
51
23
  /**
52
24
  * Moves the drawing cursor to the specified point.
53
25
  * @param {number} x - The x coordinate to move to.
54
26
  * @param {number} y - The y coordinate to move to.
55
27
  * @returns {Graphics} This Graphics object for chaining.
56
28
  */
57
- moveTo(x: number, y: number): Graphics;
29
+ moveTo(x: any, y: any): this;
58
30
  /**
59
31
  * Draws a line from the current drawing position to the specified point.
60
32
  * @param {number} x - The x coordinate to draw to.
61
33
  * @param {number} y - The y coordinate to draw to.
62
34
  * @returns {Graphics} This Graphics object for chaining.
63
35
  */
64
- lineTo(x: number, y: number): Graphics;
36
+ lineTo(x: any, y: any): this;
65
37
  /**
66
38
  * Draws a quadratic curve from the current position to the specified point.
67
39
  * @param {number} cpX - The x coordinate of the control point.
@@ -70,7 +42,7 @@ export class Graphics extends DisplayObject {
70
42
  * @param {number} toY - The y coordinate to draw to.
71
43
  * @returns {Graphics} This Graphics object for chaining.
72
44
  */
73
- quadraticCurveTo(cpX: number, cpY: number, toX: number, toY: number): Graphics;
45
+ quadraticCurveTo(cpX: any, cpY: any, toX: any, toY: any): this;
74
46
  /**
75
47
  * Draws a cubic Bezier curve from the current position to the specified point.
76
48
  * @param {number} cpX - The x coordinate of the first control point.
@@ -81,7 +53,7 @@ export class Graphics extends DisplayObject {
81
53
  * @param {number} toY - The y coordinate to draw to.
82
54
  * @returns {Graphics} This Graphics object for chaining.
83
55
  */
84
- bezierCurveTo(cpX: number, cpY: number, cpX2: number, cpY2: number, toX: number, toY: number): Graphics;
56
+ bezierCurveTo(cpX: any, cpY: any, cpX2: any, cpY2: any, toX: any, toY: any): this;
85
57
  /**
86
58
  * Draws an arc from the current position to the specified point.
87
59
  * @param {number} x1 - The x coordinate of the starting point.
@@ -91,7 +63,7 @@ export class Graphics extends DisplayObject {
91
63
  * @param {number} radius - The radius of the arc.
92
64
  * @returns {Graphics} This Graphics object for chaining.
93
65
  */
94
- arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): Graphics;
66
+ arcTo(x1: any, y1: any, x2: any, y2: any, radius: any): this;
95
67
  /**
96
68
  * Draws an arc with the specified center, radius, and angles.
97
69
  * @param {number} cx - The x coordinate of the center point.
@@ -103,21 +75,19 @@ export class Graphics extends DisplayObject {
103
75
  * @param {number} segments - The number of segments to use for drawing the arc.
104
76
  * @returns {Graphics} This Graphics object for chaining.
105
77
  */
106
- arc(cx: number, cy: number, radius: number, startAngle: number, endAngle: number, anticlockwise?: boolean, segments?: number): Graphics;
78
+ arc(cx: any, cy: any, radius: any, startAngle: any, endAngle: any, anticlockwise?: boolean, segments?: number): this;
107
79
  /**
108
80
  * Begins filling with the specified color and alpha.
109
81
  * @param {number} color - The fill color to use.
110
82
  * @param {number} alpha - The fill alpha (transparency) to use.
111
83
  * @returns {Graphics} This Graphics object for chaining.
112
84
  */
113
- beginFill(color?: number, alpha?: number): Graphics;
114
- filling: boolean;
115
- fillColor: number;
85
+ beginFill(color?: number, alpha?: number): this;
116
86
  /**
117
87
  * Ends the current fill operation.
118
88
  * @returns {Graphics} This Graphics object for chaining.
119
89
  */
120
- endFill(): Graphics;
90
+ endFill(): this;
121
91
  /**
122
92
  * Draws a rectangle with the specified properties.
123
93
  * @param {number} x - The x coordinate of the rectangle.
@@ -126,7 +96,7 @@ export class Graphics extends DisplayObject {
126
96
  * @param {number} height - The height of the rectangle.
127
97
  * @returns {Graphics} This Graphics object for chaining.
128
98
  */
129
- drawRect(x: number, y: number, width: number, height: number): Graphics;
99
+ drawRect(x: any, y: any, width: any, height: any): this;
130
100
  /**
131
101
  * Draws a rounded rectangle with the specified properties.
132
102
  * @param {number} x - The x coordinate of the rectangle.
@@ -136,7 +106,7 @@ export class Graphics extends DisplayObject {
136
106
  * @param {number} radius - The radius of the rounded corners.
137
107
  * @returns {Graphics} This Graphics object for chaining.
138
108
  */
139
- drawRoundedRect(x: number, y: number, width: number, height: number, radius: number): Graphics;
109
+ drawRoundedRect(x: any, y: any, width: any, height: any, radius: any): this;
140
110
  /**
141
111
  * Draws a circle with the specified properties.
142
112
  * @param {number} x - The x coordinate of the center point.
@@ -144,7 +114,7 @@ export class Graphics extends DisplayObject {
144
114
  * @param {number} diameter - The diameter of the circle.
145
115
  * @returns {Graphics} This Graphics object for chaining.
146
116
  */
147
- drawCircle(x: number, y: number, diameter: number): Graphics;
117
+ drawCircle(x: any, y: any, diameter: any): this;
148
118
  /**
149
119
  * Draws an ellipse with the specified properties.
150
120
  * @param {number} x - The x coordinate of the center point.
@@ -153,64 +123,88 @@ export class Graphics extends DisplayObject {
153
123
  * @param {number} height - The height of the ellipse.
154
124
  * @returns {Graphics} This Graphics object for chaining.
155
125
  */
156
- drawEllipse(x: number, y: number, width: number, height: number): Graphics;
126
+ drawEllipse(x: any, y: any, width: any, height: any): this;
157
127
  /**
158
128
  * Draws a polygon with the specified path.
159
129
  * @param {Polygon} path - The polygon to draw.
160
130
  * @returns {Graphics} This Graphics object for chaining.
161
131
  */
162
- drawPolygon(path: Polygon): Graphics;
132
+ drawPolygon(path: any): this;
163
133
  /**
164
134
  * Clears all graphics data.
165
135
  * @returns {Graphics} This Graphics object for chaining.
166
136
  */
167
- clear(): Graphics;
168
- clearDirty: boolean;
169
- _prevTint: any;
137
+ clear(): this;
138
+ /**
139
+ * Generates a texture from the graphics object (not implemented).
140
+ */
141
+ generateTexture(): void;
142
+ /**
143
+ * Renders the graphics object using WebGL.
144
+ * @param {object} renderSession - The render session to use.
145
+ */
146
+ renderWebGL(renderSession: any): void;
147
+ /**
148
+ * Renders the graphics object using Canvas.
149
+ * @param {object} renderSession - The render session to use.
150
+ */
151
+ renderCanvas(renderSession: any): void;
170
152
  /**
171
153
  * Gets the bounds of the graphics object.
172
154
  * @param {import('../geom/matrix.js').Matrix} matrix - The transformation matrix to use.
173
155
  * @returns {Rectangle} The bounds rectangle of the graphics object.
174
156
  */
175
- getBounds(matrix?: import("../geom/matrix.js").Matrix): Rectangle;
157
+ getBounds(matrix?: any): any;
158
+ /**
159
+ * Gets the local bounds of the graphics object.
160
+ * @returns {Rectangle} The local bounds rectangle of the graphics object.
161
+ */
162
+ getLocalBounds(): any;
176
163
  /**
177
164
  * Checks if the graphics object contains a point.
178
165
  * @param {Point} point - The point to check.
179
166
  * @param {Point} tempPoint - A temporary point object to use.
180
167
  * @returns {boolean} True if the graphics object contains the point, otherwise false.
181
168
  */
182
- containsPoint(point: Point, tempPoint: Point): boolean;
169
+ containsPoint(point: any, tempPoint: any): boolean;
183
170
  /**
184
171
  * Updates the local bounds of the graphics object.
185
172
  */
186
173
  updateLocalBounds(): void;
174
+ /**
175
+ * Generates a cached sprite representation of the graphics object.
176
+ */
177
+ generateCachedSprite(): void;
187
178
  /**
188
179
  * Updates the cached sprite texture.
189
180
  */
190
181
  updateCachedSpriteTexture(): void;
182
+ /**
183
+ * Destroys the cached sprite.
184
+ */
185
+ destroyCachedSprite(): void;
191
186
  /**
192
187
  * Draws a shape with the specified properties.
193
188
  * @param {object} shape - The shape to draw.
194
189
  * @returns {GraphicsData} The graphics data for the drawn shape.
195
190
  */
196
- drawShape(shape: object): GraphicsData;
191
+ drawShape(shape: any): GraphicsData;
192
+ /**
193
+ * Performs post-update operations for the graphics object.
194
+ */
195
+ postUpdate(): void;
197
196
  /**
198
197
  * Draws a triangle with the specified points and culling options.
199
198
  * @param {Point[]} points - The points of the triangle.
200
199
  * @param {boolean} cull - Whether to perform backface culling.
201
200
  */
202
- drawTriangle(points: Point[], cull?: boolean): void;
201
+ drawTriangle(points: any, cull?: boolean): void;
203
202
  /**
204
203
  * Draws triangles with the specified vertices and indices.
205
204
  * @param {number[]|Point[]} vertices - The vertices of the triangles.
206
205
  * @param {number[]} indices - The indices of the vertices to use.
207
206
  * @param {boolean} cull - Whether to perform backface culling.
208
207
  */
209
- drawTriangles(vertices: number[] | Point[], indices: number[], cull?: boolean): void;
208
+ drawTriangles(vertices: any, indices: any, cull?: boolean): void;
210
209
  }
211
- import { DisplayObject } from './display_object.js';
212
- import { GraphicsData } from './graphics_data.js';
213
- import { Rectangle } from '../geom/rectangle.js';
214
- import { Polygon } from '../geom/polygon.js';
215
- import { Point } from '../geom/point.js';
216
210
  //# sourceMappingURL=graphics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphics.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/graphics.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAMlD,qBAAa,QAAS,SAAQ,aAAa;IACzC;;;;;OAKG;gBACS,IAAI,KAAA,EAAE,CAAC,SAAI,EAAE,CAAC,SAAI;IAwC9B;;OAEG;IACH,OAAO;IAMP;;;;;;OAMG;IACH,SAAS,CAAC,SAAS,SAAI,EAAE,KAAK,SAAI,EAAE,KAAK,SAAI;IAkB7C;;;;;OAKG;IACH,MAAM,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA;IAKX;;;;;OAKG;IACH,MAAM,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA;IAUX;;;;;;;OAOG;IACH,gBAAgB,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,GAAG,KAAA;IA6BnC;;;;;;;;;OASG;IACH,aAAa,CAAC,GAAG,KAAA,EAAE,GAAG,KAAA,EAAE,IAAI,KAAA,EAAE,IAAI,KAAA,EAAE,GAAG,KAAA,EAAE,GAAG,KAAA;IAmC5C;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,KAAA,EAAE,EAAE,KAAA,EAAE,EAAE,KAAA,EAAE,EAAE,KAAA,EAAE,MAAM,KAAA;IA2C5B;;;;;;;;;;OAUG;IACH,GAAG,CAAC,EAAE,KAAA,EAAE,EAAE,KAAA,EAAE,MAAM,KAAA,EAAE,UAAU,KAAA,EAAE,QAAQ,KAAA,EAAE,aAAa,UAAQ,EAAE,QAAQ,SAAK;IA2C9E;;;;;OAKG;IACH,SAAS,CAAC,KAAK,SAAI,EAAE,KAAK,SAAI;IAc9B;;;OAGG;IACH,OAAO;IAOP;;;;;;;OAOG;IACH,QAAQ,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,EAAE,KAAK,KAAA,EAAE,MAAM,KAAA;IAK5B;;;;;;;;OAQG;IACH,eAAe,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,EAAE,KAAK,KAAA,EAAE,MAAM,KAAA,EAAE,MAAM,KAAA;IAK3C;;;;;;OAMG;IACH,UAAU,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,EAAE,QAAQ,KAAA;IAKzB;;;;;;;OAOG;IACH,WAAW,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA,EAAE,KAAK,KAAA,EAAE,MAAM,KAAA;IAK/B;;;;OAIG;IACH,WAAW,CAAC,IAAI,KAAA;IAoBhB;;;OAGG;IACH,KAAK;IAWL;;OAEG;IACH,eAAe;IAKf;;;OAGG;IACH,WAAW,CAAC,aAAa,KAAA;IAwDzB;;;OAGG;IACH,YAAY,CAAC,aAAa,KAAA;IAoD1B;;;;OAIG;IACH,SAAS,CAAC,MAAM,MAAO;IAwDvB;;;OAGG;IACH,cAAc;IAcd;;;;;OAKG;IACH,aAAa,CAAC,KAAK,KAAA,EAAE,SAAS,KAAA;IAc9B;;OAEG;IACH,iBAAiB;IA8EjB;;OAEG;IACH,oBAAoB;IAuBpB;;OAEG;IACH,yBAAyB;IAgBzB;;OAEG;IACH,mBAAmB;IAQnB;;;;OAIG;IACH,SAAS,CAAC,KAAK,KAAA;IAgCf;;OAEG;IACH,UAAU;IAUV;;;;OAIG;IACH,YAAY,CAAC,MAAM,KAAA,EAAE,IAAI,UAAQ;IAejC;;;;;OAKG;IACH,aAAa,CAAC,QAAQ,KAAA,EAAE,OAAO,KAAA,EAAE,IAAI,UAAQ;CA4C9C"}
@@ -1,4 +1,4 @@
1
- export class GraphicsData {
1
+ export declare class GraphicsData {
2
2
  /**
3
3
  * Creates a new GraphicsData object.
4
4
  * @param {number} lineWidth - The line width.
@@ -9,17 +9,7 @@ export class GraphicsData {
9
9
  * @param {boolean} fill - Whether to fill the shape.
10
10
  * @param {object} shape - The shape to draw.
11
11
  */
12
- constructor(lineWidth: number, lineColor: number, lineAlpha: number, fillColor: number, fillAlpha: number, fill: boolean, shape: object);
13
- lineWidth: number;
14
- lineColor: number;
15
- lineAlpha: number;
16
- _lineTint: number;
17
- fillColor: number;
18
- fillAlpha: number;
19
- _fillTint: number;
20
- fill: boolean;
21
- shape: any;
22
- type: any;
12
+ constructor(lineWidth: any, lineColor: any, lineAlpha: any, fillColor: any, fillAlpha: any, fill: any, shape: any);
23
13
  /**
24
14
  * Clones this GraphicsData object.
25
15
  * @returns {GraphicsData} A new cloned GraphicsData object.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphics_data.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/graphics_data.ts"],"names":[],"mappings":"AAGA,qBAAa,YAAY;IACvB;;;;;;;;;OASG;gBACS,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,IAAI,KAAA,EAAE,KAAK,KAAA;IAa9E;;;OAGG;IACH,KAAK;CAGN"}
@@ -0,0 +1,8 @@
1
+ import { GraphicsData } from './graphics_data.js';
2
+ /**
3
+ * Clones a GraphicsData object.
4
+ * @param {GraphicsData} source - The source GraphicsData to clone.
5
+ * @returns {GraphicsData} A new cloned GraphicsData object.
6
+ */
7
+ export declare const clone: (source: any) => GraphicsData;
8
+ //# sourceMappingURL=graphics_data_util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphics_data_util.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/graphics_data_util.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,WAAM,iBAU3B,CAAC"}
@@ -1,6 +1,7 @@
1
- export const SORT_ASCENDING: -1;
2
- export const SORT_DESCENDING: 1;
3
- export class Group extends DisplayObject {
1
+ import { DisplayObject } from './display_object.js';
2
+ export declare const SORT_ASCENDING = -1;
3
+ export declare const SORT_DESCENDING = 1;
4
+ export declare class Group extends DisplayObject {
4
5
  /**
5
6
  * Creates a new Group object.
6
7
  * @param {import('../core/game.js').Game} game - The game instance this group belongs to.
@@ -8,40 +9,13 @@ export class Group extends DisplayObject {
8
9
  * @param {string} name - The name of this group.
9
10
  * @param {boolean} addToStage - Whether to add this group to the stage.
10
11
  */
11
- constructor(game: import("../core/game.js").Game, parent?: DisplayObject, name?: string, addToStage?: boolean);
12
- /** @type {number} */
13
- type: number;
14
- /** @type {number} */
15
- z: number;
16
- /** @type {boolean} */
17
- ignoreDestroy: boolean;
18
- /** @type {boolean} */
19
- pendingDestroy: boolean;
20
- classType: typeof Image;
21
- cursor: any;
22
- /** @type {boolean} */
23
- inputEnableChildren: boolean;
24
- /** @type {Signal} */
25
- onChildInputDown: Signal;
26
- /** @type {Signal} */
27
- onChildInputUp: Signal;
28
- /** @type {Signal} */
29
- onChildInputOver: Signal;
30
- /** @type {Signal} */
31
- onChildInputOut: Signal;
32
- /** @type {Signal} */
33
- onDestroy: Signal;
34
- /** @type {number} */
35
- cursorIndex: number;
36
- /** @type {string} */
37
- _sortProperty: string;
12
+ constructor(game: any, parent?: any, name?: any, addToStage?: boolean);
38
13
  /**
39
14
  * Destroys this group and cleans up resources.
40
15
  * @param {boolean} destroyChildren - Whether to destroy children as well.
41
16
  * @param {boolean} soft - Whether to perform a soft destroy (leaving the group in the parent's children list).
42
17
  */
43
18
  destroy(destroyChildren?: boolean, soft?: boolean): void;
44
- filters: any;
45
19
  /**
46
20
  * Adds a child to this group.
47
21
  * @param {DisplayObject} child - The child to add.
@@ -49,20 +23,20 @@ export class Group extends DisplayObject {
49
23
  * @param {number} index - The index to add the child at.
50
24
  * @returns {DisplayObject} The added child.
51
25
  */
52
- add(child: DisplayObject, silent?: boolean, index?: number): DisplayObject;
26
+ add(child: any, silent?: boolean, index?: number): any;
53
27
  /**
54
28
  * Adds a child to this group at a specific index.
55
29
  * @param {DisplayObject} child - The child to add.
56
30
  * @param {number} index - The index to add the child at.
57
31
  * @param {boolean} silent - Whether to dispatch events.
58
32
  */
59
- addAt(child: DisplayObject, index: number, silent: boolean): void;
33
+ addAt(child: any, index: any, silent: any): void;
60
34
  /**
61
35
  * Gets a child at the specified index.
62
36
  * @param {number} index - The index of the child to get.
63
37
  * @returns {DisplayObject} The child at the specified index, or -1 if not found.
64
38
  */
65
- getAt(index: number): DisplayObject;
39
+ getAt(index: any): any;
66
40
  /**
67
41
  * Updates the Z indices of all children in this group.
68
42
  */
@@ -71,30 +45,30 @@ export class Group extends DisplayObject {
71
45
  * Gets the next child in this group (with circular wrapping).
72
46
  * @returns {DisplayObject} The next child, or null if no children exist.
73
47
  */
74
- next(): DisplayObject;
48
+ next(): any;
75
49
  /**
76
50
  * Gets the previous child in this group (with circular wrapping).
77
51
  * @returns {DisplayObject} The previous child, or null if no children exist.
78
52
  */
79
- previous(): DisplayObject;
53
+ previous(): any;
80
54
  /**
81
55
  * Swaps the positions of two children in this group.
82
56
  * @param {DisplayObject} child1 - The first child to swap.
83
57
  * @param {DisplayObject} child2 - The second child to swap.
84
58
  */
85
- swap(child1: DisplayObject, child2: DisplayObject): void;
59
+ swap(child1: any, child2: any): void;
86
60
  /**
87
61
  * Brings a child to the top of this group.
88
62
  * @param {DisplayObject} child - The child to bring to the top.
89
63
  * @returns {DisplayObject} The child that was brought to the top.
90
64
  */
91
- bringToTop(child: DisplayObject): DisplayObject;
65
+ bringToTop(child: any): any;
92
66
  /**
93
67
  * Sends a child to the back of this group.
94
68
  * @param {DisplayObject} child - The child to send to the back.
95
69
  * @returns {DisplayObject} The child that was sent to the back.
96
70
  */
97
- sendToBack(child: DisplayObject): DisplayObject;
71
+ sendToBack(child: any): any;
98
72
  /**
99
73
  * Reverses the order of children in this group.
100
74
  */
@@ -104,8 +78,19 @@ export class Group extends DisplayObject {
104
78
  * @param {DisplayObject} child - The child to get the index of.
105
79
  * @returns {number} The index of the child, or -1 if not found.
106
80
  */
107
- getIndex(child: DisplayObject): number;
108
- renderOrderID: number;
81
+ getIndex(child: any): any;
82
+ /**
83
+ * Updates the Z indices of all children in this group before the update cycle.
84
+ */
85
+ preUpdate(): void;
86
+ /**
87
+ * Updates all children in this group during the update cycle.
88
+ */
89
+ update(): void;
90
+ /**
91
+ * Updates all children in this group after the update cycle.
92
+ */
93
+ postUpdate(): void;
109
94
  /**
110
95
  * Removes a child from this group.
111
96
  * @param {DisplayObject} child - The child to remove.
@@ -113,7 +98,7 @@ export class Group extends DisplayObject {
113
98
  * @param {boolean} silent - Whether to dispatch events.
114
99
  * @returns {boolean} True if the child was removed, false otherwise.
115
100
  */
116
- remove(child: DisplayObject, destroy?: boolean, silent?: boolean): boolean;
101
+ remove(child: any, destroy?: boolean, silent?: boolean): boolean;
117
102
  /**
118
103
  * Removes all children from this group.
119
104
  * @param {boolean} destroy - Whether to destroy children as well.
@@ -122,7 +107,4 @@ export class Group extends DisplayObject {
122
107
  */
123
108
  removeAll(destroy?: boolean, silent?: boolean, destroyTexture?: boolean): void;
124
109
  }
125
- import { DisplayObject } from './display_object.js';
126
- import { Image } from './image.js';
127
- import { Signal } from '../core/signal.js';
128
110
  //# sourceMappingURL=group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/group.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,qBAAa,KAAM,SAAQ,aAAa;IACtC;;;;;;OAMG;gBACS,IAAI,KAAA,EAAE,MAAM,MAAO,EAAE,IAAI,MAAO,EAAE,UAAU,UAAQ;IA0ChE;;;;OAIG;IACH,OAAO,CAAC,eAAe,UAAO,EAAE,IAAI,UAAQ;IAkB5C;;;;;;OAMG;IACH,GAAG,CAAC,KAAK,KAAA,EAAE,MAAM,UAAQ,EAAE,KAAK,SAAK;IAuBrC;;;;;OAKG;IACH,KAAK,CAAC,KAAK,KAAA,EAAE,KAAK,KAAA,EAAE,MAAM,KAAA;IAI1B;;;;OAIG;IACH,KAAK,CAAC,KAAK,KAAA;IAOX;;OAEG;IACH,OAAO;IAQP;;;OAGG;IACH,IAAI;IAcJ;;;OAGG;IACH,QAAQ;IAcR;;;;OAIG;IACH,IAAI,CAAC,MAAM,KAAA,EAAE,MAAM,KAAA;IAKnB;;;;OAIG;IACH,UAAU,CAAC,KAAK,KAAA;IAQhB;;;;OAIG;IACH,UAAU,CAAC,KAAK,KAAA;IAQhB;;OAEG;IACH,OAAO;IAKP;;;;OAIG;IACH,QAAQ,CAAC,KAAK,KAAA;IAId;;OAEG;IACH,SAAS;IAcT;;OAEG;IACH,MAAM;IAQN;;OAEG;IACH,UAAU;IAMV;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,KAAA,EAAE,OAAO,UAAO,EAAE,MAAM,UAAQ;IAkB5C;;;;;OAKG;IACH,SAAS,CAAC,OAAO,UAAO,EAAE,MAAM,UAAQ,EAAE,cAAc,UAAQ;CAejE"}
@@ -1,4 +1,5 @@
1
- export class Image extends DisplayObject {
1
+ import { DisplayObject } from './display_object.js';
2
+ export declare class Image extends DisplayObject {
2
3
  /**
3
4
  * Creates a new Image instance.
4
5
  * @param {import('../core/game.js').Game} game - The game instance this image belongs to.
@@ -7,88 +8,88 @@ export class Image extends DisplayObject {
7
8
  * @param {string | number | Texture} key - The texture key or texture to use.
8
9
  * @param {string | number} frame - The frame identifier (name or index) to use.
9
10
  */
10
- constructor(game: import("../core/game.js").Game, x: number, y: number, key: string | number | Texture, frame?: string | number);
11
- /** @type {number} */
12
- type: number;
13
- /** @type {string | number | Texture} */
14
- key: string | number | Texture;
15
- texture: any;
16
- /** @type {number} */
17
- tint: number;
18
- /** @type {number} */
19
- cachedTint: number;
20
- /** @type {Texture | null} */
21
- tilingTexture: Texture | null;
22
- /** @type {Texture | null} */
23
- tintedTexture: Texture | null;
24
- /** @type {number} */
25
- blendMode: number;
26
- shader: any;
27
- _frame: Rectangle | import("../core/frame.js").Frame;
28
- /** @type {boolean} */
29
- pendingDestroy: boolean;
30
- /** @type {EventManager} */
31
- events: EventManager;
32
- /** @type {AnimationManager} */
33
- animations: AnimationManager;
34
- renderOrderID: number;
11
+ constructor(game: any, x: any, y: any, key: any, frame?: number);
12
+ /**
13
+ * Destroys this image and cleans up resources.
14
+ */
15
+ destroy(): void;
16
+ /**
17
+ * Called before the update cycle for this image.
18
+ */
19
+ preUpdate(): void;
35
20
  /**
36
21
  * Loads a texture for this image.
37
22
  * @param {string | number | Texture} key - The texture key or texture to use.
38
23
  * @param {string | number | null | undefined} frame - The frame identifier (name or index) to use.
39
24
  * @param {boolean} stopAnimation - Whether to stop the animation when changing textures.
40
25
  */
41
- loadTexture(key: string | number | Texture, frame?: string | number | null | undefined, stopAnimation?: boolean): void;
42
- customRender: boolean;
26
+ loadTexture(key: any, frame?: number, stopAnimation?: boolean): void;
43
27
  /**
44
28
  * Sets the current frame of this image.
45
29
  * @param {import('../core/frame.js').Frame} frame - The frame to set.
46
30
  */
47
- setFrame(frame: import("../core/frame.js").Frame): void;
48
- refreshTexture: boolean;
31
+ setFrame(frame: any): void;
49
32
  /**
50
33
  * Resizes the frame of this image.
51
34
  * @param {DisplayObject} parent - The parent display object.
52
35
  * @param {number} width - The new width of the frame.
53
36
  * @param {number} height - The new height of the frame.
54
37
  */
55
- resizeFrame(parent: DisplayObject, width: number, height: number): void;
38
+ resizeFrame(parent: any, width: any, height: any): void;
56
39
  /**
57
40
  * Resets the frame of this image to its original frame.
58
41
  */
59
42
  resetFrame(): void;
60
- /**
61
- * Sets the current frame index of this image.
62
- * @param {number} value - The new frame index to set.
63
- */
64
- set frame(value: number);
65
43
  /**
66
44
  * Gets the current frame index of this image.
67
45
  * @returns {number} The current frame index.
68
46
  */
69
- get frame(): number;
47
+ get frame(): any;
70
48
  /**
71
- * Sets the current frame name of this image.
72
- * @param {string} value - The new frame name to set.
49
+ * Sets the current frame index of this image.
50
+ * @param {number} value - The new frame index to set.
73
51
  */
74
- set frameName(value: string);
52
+ set frame(value: any);
75
53
  /**
76
54
  * Gets the current frame name of this image.
77
55
  * @returns {string} The current frame name.
78
56
  */
79
- get frameName(): string;
57
+ get frameName(): any;
58
+ /**
59
+ * Sets the current frame name of this image.
60
+ * @param {string} value - The new frame name to set.
61
+ */
62
+ set frameName(value: any);
80
63
  /**
81
64
  * Crops the texture of this image.
82
65
  * @param {Rectangle} rect - The rectangle to crop to.
83
66
  * @param {boolean} copy - Whether to copy the rect or use it directly.
84
67
  */
85
- crop(rect: Rectangle, copy?: boolean): void;
86
- cropRect: Rectangle;
87
- _crop: any;
68
+ crop(rect: any, copy?: boolean): void;
88
69
  /**
89
70
  * Updates the crop rectangle of this image.
90
71
  */
91
72
  updateCrop(): void;
73
+ /**
74
+ * Gets the width of this image.
75
+ * @returns {number} The width in pixels.
76
+ */
77
+ get width(): number;
78
+ /**
79
+ * Sets the width of this image.
80
+ * @param {number} value - The new width in pixels.
81
+ */
82
+ set width(value: number);
83
+ /**
84
+ * Gets the height of this image.
85
+ * @returns {number} The height in pixels.
86
+ */
87
+ get height(): number;
88
+ /**
89
+ * Sets the height of this image.
90
+ * @param {number} value - The new height in pixels.
91
+ */
92
+ set height(value: number);
92
93
  /**
93
94
  * Called when the texture of this image is updated.
94
95
  */
@@ -98,29 +99,29 @@ export class Image extends DisplayObject {
98
99
  * @param {Texture} texture - The new texture to set.
99
100
  * @param {boolean} destroyBase - Whether to destroy the base texture.
100
101
  */
101
- setTexture(texture: Texture, destroyBase?: boolean): void;
102
+ setTexture(texture: any, destroyBase?: boolean): void;
102
103
  /**
103
104
  * Gets the bounds of this image.
104
105
  * @param {import('../geom/matrix.js').Matrix} matrix - The transformation matrix to use.
105
106
  * @returns {Rectangle} The bounds rectangle of this image.
106
107
  */
107
- getBounds(matrix?: import("../geom/matrix.js").Matrix): Rectangle;
108
+ getBounds(matrix?: any): any;
109
+ /**
110
+ * Gets the local bounds of this image.
111
+ * @returns {Rectangle} The local bounds rectangle of this image.
112
+ */
113
+ getLocalBounds(): any;
108
114
  /**
109
115
  * Renders this image using WebGL.
110
116
  * @param {object} renderSession - The WebGL rendering session.
111
117
  * @param {import('../geom/matrix.js').Matrix} matrix - The transformation matrix to use.
112
118
  */
113
- renderWebGL(renderSession: object, matrix?: import("../geom/matrix.js").Matrix): void;
119
+ renderWebGL(renderSession: any, matrix?: any): void;
114
120
  /**
115
121
  * Renders this image using Canvas.
116
122
  * @param {object} renderSession - The Canvas rendering session.
117
123
  * @param {import('../geom/matrix.js').Matrix} matrix - The transformation matrix to use.
118
124
  */
119
- renderCanvas(renderSession: object, matrix?: import("../geom/matrix.js").Matrix): void;
125
+ renderCanvas(renderSession: any, matrix?: any): void;
120
126
  }
121
- import { DisplayObject } from './display_object.js';
122
- import { Texture } from './webgl/texture.js';
123
- import { Rectangle } from '../geom/rectangle.js';
124
- import { EventManager } from '../core/event_manager.js';
125
- import { AnimationManager } from '../core/animation_manager.js';
126
127
  //# sourceMappingURL=image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/image.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIpD,qBAAa,KAAM,SAAQ,aAAa;IACtC;;;;;;;OAOG;gBACS,IAAI,KAAA,EAAE,CAAC,KAAA,EAAE,CAAC,KAAA,EAAE,GAAG,KAAA,EAAE,KAAK,SAAI;IAwCtC;;OAEG;IACH,OAAO;IAqBP;;OAEG;IACH,SAAS;IAuBT;;;;;OAKG;IACH,WAAW,CAAC,GAAG,KAAA,EAAE,KAAK,SAAI,EAAE,aAAa,UAAO;IAsChD;;;OAGG;IACH,QAAQ,CAAC,KAAK,KAAA;IAyCd;;;;;OAKG;IACH,WAAW,CAAC,MAAM,KAAA,EAAE,KAAK,KAAA,EAAE,MAAM,KAAA;IAKjC;;OAEG;IACH,UAAU;IAMV;;;OAGG;IACH,IAAI,KAAK,QAER;IAED;;;OAGG;IACH,IAAI,KAAK,CAAC,KAAK,KAAA,EAEd;IAED;;;OAGG;IACH,IAAI,SAAS,QAEZ;IAED;;;OAGG;IACH,IAAI,SAAS,CAAC,KAAK,KAAA,EAElB;IAID;;;;OAIG;IACH,IAAI,CAAC,IAAI,KAAA,EAAE,IAAI,UAAQ;IAiBvB;;OAEG;IACH,UAAU;IA6BV;;;OAGG;IACH,IAAI,KAAK,WAER;IAED;;;OAGG;IACH,IAAI,KAAK,CAAC,KAAK,QAAA,EAGd;IAED;;;OAGG;IACH,IAAI,MAAM,WAET;IAED;;;OAGG;IACH,IAAI,MAAM,CAAC,KAAK,QAAA,EAGf;IAED;;OAEG;IACH,eAAe;IAUf;;;;OAIG;IACH,UAAU,CAAC,OAAO,KAAA,EAAE,WAAW,UAAQ;IAIvC;;;;OAIG;IACH,SAAS,CAAC,MAAM,MAAO;IAIvB;;;OAGG;IACH,cAAc;IAId;;;;OAIG;IACH,WAAW,CAAC,aAAa,KAAA,EAAE,MAAM,MAAO;IAIxC;;;;OAIG;IACH,YAAY,CAAC,aAAa,KAAA,EAAE,MAAM,MAAO;CAG1C"}
@@ -0,0 +1,9 @@
1
+ import { DisplayObject } from './display_object.js';
2
+ export declare class SpriteBatch extends DisplayObject {
3
+ /**
4
+ * Creates a new SpriteBatch object.
5
+ * @param {import('../core/game.js').Game} game - The game instance.
6
+ */
7
+ constructor(game: any);
8
+ }
9
+ //# sourceMappingURL=sprite_batch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sprite_batch.d.ts","sourceRoot":"","sources":["../../../src/phaser/display/sprite_batch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,qBAAa,WAAY,SAAQ,aAAa;IAC5C;;;OAGG;gBACS,IAAI,KAAA;CAGjB"}