@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.
- package/dist/index.d.ts +38 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20112 -0
- package/dist/index.js.map +1 -0
- package/{types → dist}/phaser/core/animation.d.ts +41 -83
- package/dist/phaser/core/animation.d.ts.map +1 -0
- package/{types → dist}/phaser/core/animation_manager.d.ts +37 -55
- package/dist/phaser/core/animation_manager.d.ts.map +1 -0
- package/dist/phaser/core/animation_parser.d.ts +21 -0
- package/dist/phaser/core/animation_parser.d.ts.map +1 -0
- package/{types → dist}/phaser/core/array_set.d.ts +13 -13
- package/dist/phaser/core/array_set.d.ts.map +1 -0
- package/{types → dist}/phaser/core/cache.d.ts +78 -91
- package/dist/phaser/core/cache.d.ts.map +1 -0
- package/dist/phaser/core/const.d.ts +262 -0
- package/dist/phaser/core/const.d.ts.map +1 -0
- package/dist/phaser/core/device.d.ts +8 -0
- package/dist/phaser/core/device.d.ts.map +1 -0
- package/dist/phaser/core/device_util.d.ts +65 -0
- package/dist/phaser/core/device_util.d.ts.map +1 -0
- package/dist/phaser/core/dom.d.ts +75 -0
- package/dist/phaser/core/dom.d.ts.map +1 -0
- package/dist/phaser/core/error_code.d.ts +9 -0
- package/dist/phaser/core/error_code.d.ts.map +1 -0
- package/{types → dist}/phaser/core/event_manager.d.ts +17 -35
- package/dist/phaser/core/event_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/core/factory.d.ts +9 -15
- package/dist/phaser/core/factory.d.ts.map +1 -0
- package/{types → dist}/phaser/core/frame.d.ts +7 -28
- package/dist/phaser/core/frame.d.ts.map +1 -0
- package/{types → dist}/phaser/core/frame_data.d.ts +12 -15
- package/dist/phaser/core/frame_data.d.ts.map +1 -0
- package/dist/phaser/core/frame_util.d.ts +15 -0
- package/dist/phaser/core/frame_util.d.ts.map +1 -0
- package/{types → dist}/phaser/core/game.d.ts +7 -74
- package/dist/phaser/core/game.d.ts.map +1 -0
- package/dist/phaser/core/input.d.ts +160 -0
- package/dist/phaser/core/input.d.ts.map +1 -0
- package/{types → dist}/phaser/core/input_handler.d.ts +32 -93
- package/dist/phaser/core/input_handler.d.ts.map +1 -0
- package/dist/phaser/core/input_mouse.d.ts +61 -0
- package/dist/phaser/core/input_mouse.d.ts.map +1 -0
- package/dist/phaser/core/input_mspointer.d.ts +51 -0
- package/dist/phaser/core/input_mspointer.d.ts.map +1 -0
- package/dist/phaser/core/input_pointer.d.ts +106 -0
- package/dist/phaser/core/input_pointer.d.ts.map +1 -0
- package/dist/phaser/core/input_touch.d.ts +55 -0
- package/dist/phaser/core/input_touch.d.ts.map +1 -0
- package/{types → dist}/phaser/core/loader.d.ts +39 -78
- package/dist/phaser/core/loader.d.ts.map +1 -0
- package/dist/phaser/core/loader_parser.d.ts +35 -0
- package/dist/phaser/core/loader_parser.d.ts.map +1 -0
- package/{types → dist}/phaser/core/raf.d.ts +5 -5
- package/dist/phaser/core/raf.d.ts.map +1 -0
- package/{types → dist}/phaser/core/scale_manager.d.ts +41 -124
- package/dist/phaser/core/scale_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/core/scene.d.ts +6 -4
- package/dist/phaser/core/scene.d.ts.map +1 -0
- package/{types → dist}/phaser/core/scene_manager.d.ts +12 -29
- package/dist/phaser/core/scene_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/core/signal.d.ts +21 -17
- package/dist/phaser/core/signal.d.ts.map +1 -0
- package/{types → dist}/phaser/core/signal_binding.d.ts +15 -15
- package/dist/phaser/core/signal_binding.d.ts.map +1 -0
- package/{types → dist}/phaser/core/sound.d.ts +22 -75
- package/dist/phaser/core/sound.d.ts.map +1 -0
- package/{types → dist}/phaser/core/sound_manager.d.ts +20 -43
- package/dist/phaser/core/sound_manager.d.ts.map +1 -0
- package/dist/phaser/core/sound_sprite.d.ts +27 -0
- package/dist/phaser/core/sound_sprite.d.ts.map +1 -0
- package/{types → dist}/phaser/core/stage.d.ts +29 -17
- package/dist/phaser/core/stage.d.ts.map +1 -0
- package/{types → dist}/phaser/core/time.d.ts +12 -64
- package/dist/phaser/core/time.d.ts.map +1 -0
- package/{types → dist}/phaser/core/timer.d.ts +14 -54
- package/dist/phaser/core/timer.d.ts.map +1 -0
- package/{types → dist}/phaser/core/timer_event.d.ts +2 -11
- package/dist/phaser/core/timer_event.d.ts.map +1 -0
- package/{types → dist}/phaser/core/tween.d.ts +21 -62
- package/dist/phaser/core/tween.d.ts.map +1 -0
- package/{types → dist}/phaser/core/tween_data.d.ts +9 -35
- package/dist/phaser/core/tween_data.d.ts.map +1 -0
- package/dist/phaser/core/tween_easing.d.ts +187 -0
- package/dist/phaser/core/tween_easing.d.ts.map +1 -0
- package/{types → dist}/phaser/core/tween_manager.d.ts +9 -18
- package/dist/phaser/core/tween_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/core/world.d.ts +3 -3
- package/dist/phaser/core/world.d.ts.map +1 -0
- package/{types → dist}/phaser/display/bitmap_text.d.ts +52 -71
- package/dist/phaser/display/bitmap_text.d.ts.map +1 -0
- package/{types → dist}/phaser/display/button.d.ts +25 -37
- package/dist/phaser/display/button.d.ts.map +1 -0
- package/{types → dist}/phaser/display/canvas/buffer.d.ts +3 -7
- package/dist/phaser/display/canvas/buffer.d.ts.map +1 -0
- package/dist/phaser/display/canvas/graphics.d.ts +18 -0
- package/dist/phaser/display/canvas/graphics.d.ts.map +1 -0
- package/dist/phaser/display/canvas/masker.d.ts +12 -0
- package/dist/phaser/display/canvas/masker.d.ts.map +1 -0
- package/dist/phaser/display/canvas/pool.d.ts +40 -0
- package/dist/phaser/display/canvas/pool.d.ts.map +1 -0
- package/{types → dist}/phaser/display/canvas/renderer.d.ts +6 -28
- package/dist/phaser/display/canvas/renderer.d.ts.map +1 -0
- package/dist/phaser/display/canvas/tinter.d.ts +41 -0
- package/dist/phaser/display/canvas/tinter.d.ts.map +1 -0
- package/dist/phaser/display/canvas/util.d.ts +70 -0
- package/dist/phaser/display/canvas/util.d.ts.map +1 -0
- package/{types → dist}/phaser/display/display_object.d.ts +63 -124
- package/dist/phaser/display/display_object.d.ts.map +1 -0
- package/{types → dist}/phaser/display/graphics.d.ts +59 -65
- package/dist/phaser/display/graphics.d.ts.map +1 -0
- package/{types → dist}/phaser/display/graphics_data.d.ts +2 -12
- package/dist/phaser/display/graphics_data.d.ts.map +1 -0
- package/dist/phaser/display/graphics_data_util.d.ts +8 -0
- package/dist/phaser/display/graphics_data_util.d.ts.map +1 -0
- package/{types → dist}/phaser/display/group.d.ts +27 -45
- package/dist/phaser/display/group.d.ts.map +1 -0
- package/{types → dist}/phaser/display/image.d.ts +54 -53
- package/dist/phaser/display/image.d.ts.map +1 -0
- package/dist/phaser/display/sprite_batch.d.ts +9 -0
- package/dist/phaser/display/sprite_batch.d.ts.map +1 -0
- package/dist/phaser/display/sprite_util.d.ts +35 -0
- package/dist/phaser/display/sprite_util.d.ts.map +1 -0
- package/{types → dist}/phaser/display/text.d.ts +176 -181
- package/dist/phaser/display/text.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/abstract_filter.d.ts +2 -8
- package/dist/phaser/display/webgl/abstract_filter.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/base_texture.d.ts +3 -15
- package/dist/phaser/display/webgl/base_texture.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/blend_manager.d.ts +7 -5
- package/dist/phaser/display/webgl/blend_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/earcut.d.ts +28 -27
- package/dist/phaser/display/webgl/earcut.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/earcut_node.d.ts +11 -11
- package/dist/phaser/display/webgl/earcut_node.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/fast_sprite_batch.d.ts +6 -28
- package/dist/phaser/display/webgl/fast_sprite_batch.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/filter_manager.d.ts +6 -7
- package/dist/phaser/display/webgl/filter_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/filter_texture.d.ts +3 -9
- package/dist/phaser/display/webgl/filter_texture.d.ts.map +1 -0
- package/dist/phaser/display/webgl/graphics.d.ts +78 -0
- package/dist/phaser/display/webgl/graphics.d.ts.map +1 -0
- package/dist/phaser/display/webgl/graphics_data.d.ts +16 -0
- package/dist/phaser/display/webgl/graphics_data.d.ts.map +1 -0
- package/dist/phaser/display/webgl/mask_manager.d.ts +13 -0
- package/dist/phaser/display/webgl/mask_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/render_texture.d.ts +5 -13
- package/dist/phaser/display/webgl/render_texture.d.ts.map +1 -0
- package/dist/phaser/display/webgl/renderer.d.ts +51 -0
- package/dist/phaser/display/webgl/renderer.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/complex.d.ts +16 -0
- package/dist/phaser/display/webgl/shader/complex.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/fast.d.ts +16 -0
- package/dist/phaser/display/webgl/shader/fast.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/normal.d.ts +29 -0
- package/dist/phaser/display/webgl/shader/normal.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/primitive.d.ts +16 -0
- package/dist/phaser/display/webgl/shader/primitive.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/strip.d.ts +16 -0
- package/dist/phaser/display/webgl/shader/strip.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader_manager.d.ts +27 -0
- package/dist/phaser/display/webgl/shader_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/sprite_batch.d.ts +9 -32
- package/dist/phaser/display/webgl/sprite_batch.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/stencil_manager.d.ts +9 -9
- package/dist/phaser/display/webgl/stencil_manager.d.ts.map +1 -0
- package/dist/phaser/display/webgl/texture.d.ts +36 -0
- package/dist/phaser/display/webgl/texture.d.ts.map +1 -0
- package/dist/phaser/display/webgl/texture_util.d.ts +17 -0
- package/dist/phaser/display/webgl/texture_util.d.ts.map +1 -0
- package/dist/phaser/display/webgl/util.d.ts +54 -0
- package/dist/phaser/display/webgl/util.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/circle.d.ts +35 -41
- package/dist/phaser/geom/circle.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/ellipse.d.ts +12 -18
- package/dist/phaser/geom/ellipse.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/line.d.ts +20 -23
- package/dist/phaser/geom/line.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/matrix.d.ts +21 -29
- package/dist/phaser/geom/matrix.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/point.d.ts +30 -33
- package/dist/phaser/geom/point.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/polygon.d.ts +18 -24
- package/dist/phaser/geom/polygon.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/rectangle.d.ts +74 -79
- package/dist/phaser/geom/rectangle.d.ts.map +1 -0
- package/{types → dist}/phaser/geom/rounded_rectangle.d.ts +9 -9
- package/dist/phaser/geom/rounded_rectangle.d.ts.map +1 -0
- package/dist/phaser/geom/util/circle.d.ts +55 -0
- package/dist/phaser/geom/util/circle.d.ts.map +1 -0
- package/dist/phaser/geom/util/ellipse.d.ts +9 -0
- package/dist/phaser/geom/util/ellipse.d.ts.map +1 -0
- package/dist/phaser/geom/util/line.d.ts +42 -0
- package/dist/phaser/geom/util/line.d.ts.map +1 -0
- package/dist/phaser/geom/util/matrix.d.ts +18 -0
- package/dist/phaser/geom/util/matrix.d.ts.map +1 -0
- package/dist/phaser/geom/util/point.d.ts +159 -0
- package/dist/phaser/geom/util/point.d.ts.map +1 -0
- package/dist/phaser/geom/util/polygon.d.ts +8 -0
- package/dist/phaser/geom/util/polygon.d.ts.map +1 -0
- package/dist/phaser/geom/util/rectangle.d.ts +123 -0
- package/dist/phaser/geom/util/rectangle.d.ts.map +1 -0
- package/dist/phaser/geom/util/rounded_rectangle.d.ts +8 -0
- package/dist/phaser/geom/util/rounded_rectangle.d.ts.map +1 -0
- package/dist/phaser/util/math.d.ts +154 -0
- package/dist/phaser/util/math.d.ts.map +1 -0
- package/package.json +32 -25
- package/src/phaser/core/{animation.js → animation.ts} +2 -1
- package/src/phaser/core/{animation_manager.js → animation_manager.ts} +2 -1
- package/src/phaser/core/{array_set.js → array_set.ts} +4 -1
- package/src/phaser/core/{cache.js → cache.ts} +2 -1
- package/src/phaser/core/{device.js → device.ts} +2 -1
- package/src/phaser/core/{dom.js → dom.ts} +7 -0
- package/src/phaser/core/{event_manager.js → event_manager.ts} +2 -1
- package/src/phaser/core/{factory.js → factory.ts} +1 -0
- package/src/phaser/core/{frame.js → frame.ts} +2 -1
- package/src/phaser/core/{frame_data.js → frame_data.ts} +2 -1
- package/src/phaser/core/{frame_util.js → frame_util.ts} +2 -1
- package/src/phaser/core/{game.js → game.ts} +1 -0
- package/src/phaser/core/{input.js → input.ts} +1 -0
- package/src/phaser/core/{input_handler.js → input_handler.ts} +1 -0
- package/src/phaser/core/{input_mouse.js → input_mouse.ts} +1 -0
- package/src/phaser/core/{input_mspointer.js → input_mspointer.ts} +1 -0
- package/src/phaser/core/{input_pointer.js → input_pointer.ts} +1 -0
- package/src/phaser/core/{input_touch.js → input_touch.ts} +1 -0
- package/src/phaser/core/{loader.js → loader.ts} +2 -1
- package/src/phaser/core/{loader_parser.js → loader_parser.ts} +2 -1
- package/src/phaser/core/{raf.js → raf.ts} +3 -0
- package/src/phaser/core/{scale_manager.js → scale_manager.ts} +1 -0
- package/src/phaser/core/{scene.js → scene.ts} +1 -0
- package/src/phaser/core/{scene_manager.js → scene_manager.ts} +1 -0
- package/src/phaser/core/{signal.js → signal.ts} +7 -0
- package/src/phaser/core/{signal_binding.js → signal_binding.ts} +10 -0
- package/src/phaser/core/{sound.js → sound.ts} +2 -1
- package/src/phaser/core/{sound_manager.js → sound_manager.ts} +2 -1
- package/src/phaser/core/{sound_sprite.js → sound_sprite.ts} +2 -1
- package/src/phaser/core/{stage.js → stage.ts} +1 -0
- package/src/phaser/core/{time.js → time.ts} +2 -1
- package/src/phaser/core/{timer.js → timer.ts} +2 -1
- package/src/phaser/core/{timer_event.js → timer_event.ts} +2 -1
- package/src/phaser/core/{tween.js → tween.ts} +2 -1
- package/src/phaser/core/{tween_data.js → tween_data.ts} +2 -1
- package/src/phaser/core/{tween_manager.js → tween_manager.ts} +2 -1
- package/src/phaser/core/{world.js → world.ts} +1 -0
- package/src/phaser/display/{bitmap_text.js → bitmap_text.ts} +1 -0
- package/src/phaser/display/{button.js → button.ts} +1 -0
- package/src/phaser/display/canvas/{buffer.js → buffer.ts} +1 -0
- package/src/phaser/display/canvas/{graphics.js → graphics.ts} +1 -0
- package/src/phaser/display/canvas/{masker.js → masker.ts} +1 -0
- package/src/phaser/display/canvas/{pool.js → pool.ts} +1 -0
- package/src/phaser/display/canvas/{renderer.js → renderer.ts} +1 -0
- package/src/phaser/display/canvas/{tinter.js → tinter.ts} +1 -0
- package/src/phaser/display/{display_object.js → display_object.ts} +1 -0
- package/src/phaser/display/{graphics.js → graphics.ts} +1 -0
- package/src/phaser/display/{graphics_data.js → graphics_data.ts} +1 -0
- package/src/phaser/display/{graphics_data_util.js → graphics_data_util.ts} +1 -0
- package/src/phaser/display/{group.js → group.ts} +1 -0
- package/src/phaser/display/{image.js → image.ts} +1 -0
- package/src/phaser/display/{sprite_batch.js → sprite_batch.ts} +1 -0
- package/src/phaser/display/{sprite_util.js → sprite_util.ts} +1 -0
- package/src/phaser/display/{text.js → text.ts} +1 -0
- package/src/phaser/display/webgl/{abstract_filter.js → abstract_filter.ts} +1 -0
- package/src/phaser/display/webgl/{base_texture.js → base_texture.ts} +1 -0
- package/src/phaser/display/webgl/{blend_manager.js → blend_manager.ts} +1 -0
- package/src/phaser/display/webgl/{earcut.js → earcut.ts} +2 -2
- package/src/phaser/display/webgl/{earcut_node.js → earcut_node.ts} +10 -0
- package/src/phaser/display/webgl/{fast_sprite_batch.js → fast_sprite_batch.ts} +1 -0
- package/src/phaser/display/webgl/{filter_manager.js → filter_manager.ts} +1 -0
- package/src/phaser/display/webgl/{filter_texture.js → filter_texture.ts} +1 -0
- package/src/phaser/display/webgl/{graphics.js → graphics.ts} +1 -0
- package/src/phaser/display/webgl/{graphics_data.js → graphics_data.ts} +1 -0
- package/src/phaser/display/webgl/{mask_manager.js → mask_manager.ts} +1 -0
- package/src/phaser/display/webgl/{render_texture.js → render_texture.ts} +1 -0
- package/src/phaser/display/webgl/{renderer.js → renderer.ts} +1 -0
- package/src/phaser/display/webgl/shader/{complex.js → complex.ts} +1 -0
- package/src/phaser/display/webgl/shader/{fast.js → fast.ts} +1 -0
- package/src/phaser/display/webgl/shader/{normal.js → normal.ts} +1 -0
- package/src/phaser/display/webgl/shader/{primitive.js → primitive.ts} +1 -0
- package/src/phaser/display/webgl/shader/{strip.js → strip.ts} +1 -0
- package/src/phaser/display/webgl/{shader_manager.js → shader_manager.ts} +1 -0
- package/src/phaser/display/webgl/{sprite_batch.js → sprite_batch.ts} +1 -0
- package/src/phaser/display/webgl/{stencil_manager.js → stencil_manager.ts} +1 -0
- package/src/phaser/display/webgl/{texture.js → texture.ts} +1 -0
- package/src/phaser/display/webgl/{texture_util.js → texture_util.ts} +1 -0
- package/src/phaser/geom/{circle.js → circle.ts} +7 -1
- package/src/phaser/geom/{ellipse.js → ellipse.ts} +6 -0
- package/src/phaser/geom/{line.js → line.ts} +4 -0
- package/src/phaser/geom/{matrix.js → matrix.ts} +8 -0
- package/src/phaser/geom/{point.js → point.ts} +5 -1
- package/src/phaser/geom/{polygon.js → polygon.ts} +6 -0
- package/src/phaser/geom/{rectangle.js → rectangle.ts} +10 -4
- package/src/phaser/geom/{rounded_rectangle.js → rounded_rectangle.ts} +7 -0
- package/CHANGELOG.md +0 -264
- package/SECURITY.md +0 -5
- package/typedefs/global.d.ts +0 -7
- package/types/index.d.ts +0 -38
- package/types/index.d.ts.map +0 -1
- package/types/phaser/core/animation.d.ts.map +0 -1
- package/types/phaser/core/animation_manager.d.ts.map +0 -1
- package/types/phaser/core/animation_parser.d.ts +0 -4
- package/types/phaser/core/animation_parser.d.ts.map +0 -1
- package/types/phaser/core/array_set.d.ts.map +0 -1
- package/types/phaser/core/cache.d.ts.map +0 -1
- package/types/phaser/core/const.d.ts +0 -262
- package/types/phaser/core/const.d.ts.map +0 -1
- package/types/phaser/core/device.d.ts +0 -96
- package/types/phaser/core/device.d.ts.map +0 -1
- package/types/phaser/core/device_util.d.ts +0 -13
- package/types/phaser/core/device_util.d.ts.map +0 -1
- package/types/phaser/core/dom.d.ts +0 -180
- package/types/phaser/core/dom.d.ts.map +0 -1
- package/types/phaser/core/error_code.d.ts +0 -9
- package/types/phaser/core/error_code.d.ts.map +0 -1
- package/types/phaser/core/event_manager.d.ts.map +0 -1
- package/types/phaser/core/factory.d.ts.map +0 -1
- package/types/phaser/core/frame.d.ts.map +0 -1
- package/types/phaser/core/frame_data.d.ts.map +0 -1
- package/types/phaser/core/frame_util.d.ts +0 -5
- package/types/phaser/core/frame_util.d.ts.map +0 -1
- package/types/phaser/core/game.d.ts.map +0 -1
- package/types/phaser/core/input.d.ts +0 -219
- package/types/phaser/core/input.d.ts.map +0 -1
- package/types/phaser/core/input_handler.d.ts.map +0 -1
- package/types/phaser/core/input_mouse.d.ts +0 -86
- package/types/phaser/core/input_mouse.d.ts.map +0 -1
- package/types/phaser/core/input_mspointer.d.ts +0 -67
- package/types/phaser/core/input_mspointer.d.ts.map +0 -1
- package/types/phaser/core/input_pointer.d.ts +0 -170
- package/types/phaser/core/input_pointer.d.ts.map +0 -1
- package/types/phaser/core/input_touch.d.ts +0 -73
- package/types/phaser/core/input_touch.d.ts.map +0 -1
- package/types/phaser/core/loader.d.ts.map +0 -1
- package/types/phaser/core/loader_parser.d.ts +0 -5
- package/types/phaser/core/loader_parser.d.ts.map +0 -1
- package/types/phaser/core/raf.d.ts.map +0 -1
- package/types/phaser/core/scale_manager.d.ts.map +0 -1
- package/types/phaser/core/scene.d.ts.map +0 -1
- package/types/phaser/core/scene_manager.d.ts.map +0 -1
- package/types/phaser/core/signal.d.ts.map +0 -1
- package/types/phaser/core/signal_binding.d.ts.map +0 -1
- package/types/phaser/core/sound.d.ts.map +0 -1
- package/types/phaser/core/sound_manager.d.ts.map +0 -1
- package/types/phaser/core/sound_sprite.d.ts +0 -36
- package/types/phaser/core/sound_sprite.d.ts.map +0 -1
- package/types/phaser/core/stage.d.ts.map +0 -1
- package/types/phaser/core/time.d.ts.map +0 -1
- package/types/phaser/core/timer.d.ts.map +0 -1
- package/types/phaser/core/timer_event.d.ts.map +0 -1
- package/types/phaser/core/tween.d.ts.map +0 -1
- package/types/phaser/core/tween_data.d.ts.map +0 -1
- package/types/phaser/core/tween_easing.d.ts +0 -32
- package/types/phaser/core/tween_easing.d.ts.map +0 -1
- package/types/phaser/core/tween_manager.d.ts.map +0 -1
- package/types/phaser/core/world.d.ts.map +0 -1
- package/types/phaser/display/bitmap_text.d.ts.map +0 -1
- package/types/phaser/display/button.d.ts.map +0 -1
- package/types/phaser/display/canvas/buffer.d.ts.map +0 -1
- package/types/phaser/display/canvas/graphics.d.ts +0 -4
- package/types/phaser/display/canvas/graphics.d.ts.map +0 -1
- package/types/phaser/display/canvas/masker.d.ts +0 -3
- package/types/phaser/display/canvas/masker.d.ts.map +0 -1
- package/types/phaser/display/canvas/pool.d.ts +0 -11
- package/types/phaser/display/canvas/pool.d.ts.map +0 -1
- package/types/phaser/display/canvas/renderer.d.ts.map +0 -1
- package/types/phaser/display/canvas/tinter.d.ts +0 -7
- package/types/phaser/display/canvas/tinter.d.ts.map +0 -1
- package/types/phaser/display/canvas/util.d.ts +0 -10
- package/types/phaser/display/canvas/util.d.ts.map +0 -1
- package/types/phaser/display/display_object.d.ts.map +0 -1
- package/types/phaser/display/graphics.d.ts.map +0 -1
- package/types/phaser/display/graphics_data.d.ts.map +0 -1
- package/types/phaser/display/graphics_data_util.d.ts +0 -3
- package/types/phaser/display/graphics_data_util.d.ts.map +0 -1
- package/types/phaser/display/group.d.ts.map +0 -1
- package/types/phaser/display/image.d.ts.map +0 -1
- package/types/phaser/display/sprite_batch.d.ts +0 -4
- package/types/phaser/display/sprite_batch.d.ts.map +0 -1
- package/types/phaser/display/sprite_util.d.ts +0 -6
- package/types/phaser/display/sprite_util.d.ts.map +0 -1
- package/types/phaser/display/text.d.ts.map +0 -1
- package/types/phaser/display/webgl/abstract_filter.d.ts.map +0 -1
- package/types/phaser/display/webgl/base_texture.d.ts.map +0 -1
- package/types/phaser/display/webgl/blend_manager.d.ts.map +0 -1
- package/types/phaser/display/webgl/earcut.d.ts.map +0 -1
- package/types/phaser/display/webgl/earcut_node.d.ts.map +0 -1
- package/types/phaser/display/webgl/fast_sprite_batch.d.ts.map +0 -1
- package/types/phaser/display/webgl/filter_manager.d.ts.map +0 -1
- package/types/phaser/display/webgl/filter_texture.d.ts.map +0 -1
- package/types/phaser/display/webgl/graphics.d.ts +0 -16
- package/types/phaser/display/webgl/graphics.d.ts.map +0 -1
- package/types/phaser/display/webgl/graphics_data.d.ts +0 -27
- package/types/phaser/display/webgl/graphics_data.d.ts.map +0 -1
- package/types/phaser/display/webgl/mask_manager.d.ts +0 -3
- package/types/phaser/display/webgl/mask_manager.d.ts.map +0 -1
- package/types/phaser/display/webgl/render_texture.d.ts.map +0 -1
- package/types/phaser/display/webgl/renderer.d.ts +0 -87
- package/types/phaser/display/webgl/renderer.d.ts.map +0 -1
- package/types/phaser/display/webgl/shader/complex.d.ts +0 -33
- package/types/phaser/display/webgl/shader/complex.d.ts.map +0 -1
- package/types/phaser/display/webgl/shader/fast.d.ts +0 -36
- package/types/phaser/display/webgl/shader/fast.d.ts.map +0 -1
- package/types/phaser/display/webgl/shader/normal.d.ts +0 -52
- package/types/phaser/display/webgl/shader/normal.d.ts.map +0 -1
- package/types/phaser/display/webgl/shader/primitive.d.ts +0 -32
- package/types/phaser/display/webgl/shader/primitive.d.ts.map +0 -1
- package/types/phaser/display/webgl/shader/strip.d.ts +0 -33
- package/types/phaser/display/webgl/shader/strip.d.ts.map +0 -1
- package/types/phaser/display/webgl/shader_manager.d.ts +0 -44
- package/types/phaser/display/webgl/shader_manager.d.ts.map +0 -1
- package/types/phaser/display/webgl/sprite_batch.d.ts.map +0 -1
- package/types/phaser/display/webgl/stencil_manager.d.ts.map +0 -1
- package/types/phaser/display/webgl/texture.d.ts +0 -63
- package/types/phaser/display/webgl/texture.d.ts.map +0 -1
- package/types/phaser/display/webgl/texture_util.d.ts +0 -5
- package/types/phaser/display/webgl/texture_util.d.ts.map +0 -1
- package/types/phaser/display/webgl/util.d.ts +0 -15
- package/types/phaser/display/webgl/util.d.ts.map +0 -1
- package/types/phaser/geom/circle.d.ts.map +0 -1
- package/types/phaser/geom/ellipse.d.ts.map +0 -1
- package/types/phaser/geom/line.d.ts.map +0 -1
- package/types/phaser/geom/matrix.d.ts.map +0 -1
- package/types/phaser/geom/point.d.ts.map +0 -1
- package/types/phaser/geom/polygon.d.ts.map +0 -1
- package/types/phaser/geom/rectangle.d.ts.map +0 -1
- package/types/phaser/geom/rounded_rectangle.d.ts.map +0 -1
- package/types/phaser/geom/util/circle.d.ts +0 -10
- package/types/phaser/geom/util/circle.d.ts.map +0 -1
- package/types/phaser/geom/util/ellipse.d.ts +0 -2
- package/types/phaser/geom/util/ellipse.d.ts.map +0 -1
- package/types/phaser/geom/util/line.d.ts +0 -8
- package/types/phaser/geom/util/line.d.ts.map +0 -1
- package/types/phaser/geom/util/matrix.d.ts +0 -5
- package/types/phaser/geom/util/matrix.d.ts.map +0 -1
- package/types/phaser/geom/util/point.d.ts +0 -22
- package/types/phaser/geom/util/point.d.ts.map +0 -1
- package/types/phaser/geom/util/polygon.d.ts +0 -3
- package/types/phaser/geom/util/polygon.d.ts.map +0 -1
- package/types/phaser/geom/util/rectangle.d.ts +0 -19
- package/types/phaser/geom/util/rectangle.d.ts.map +0 -1
- package/types/phaser/geom/util/rounded_rectangle.d.ts +0 -3
- package/types/phaser/geom/util/rounded_rectangle.d.ts.map +0 -1
- package/types/phaser/util/math.d.ts +0 -58
- package/types/phaser/util/math.d.ts.map +0 -1
- /package/src/{index.js → index.ts} +0 -0
- /package/src/phaser/core/{animation_parser.js → animation_parser.ts} +0 -0
- /package/src/phaser/core/{const.js → const.ts} +0 -0
- /package/src/phaser/core/{device_util.js → device_util.ts} +0 -0
- /package/src/phaser/core/{error_code.js → error_code.ts} +0 -0
- /package/src/phaser/core/{signal.test.js → signal.test.ts} +0 -0
- /package/src/phaser/core/{tween_easing.js → tween_easing.ts} +0 -0
- /package/src/phaser/display/canvas/{util.js → util.ts} +0 -0
- /package/src/phaser/display/webgl/{util.js → util.ts} +0 -0
- /package/src/phaser/geom/{circle.test.js → circle.test.ts} +0 -0
- /package/src/phaser/geom/{ellipse.test.js → ellipse.test.ts} +0 -0
- /package/src/phaser/geom/{line.test.js → line.test.ts} +0 -0
- /package/src/phaser/geom/{matrix.test.js → matrix.test.ts} +0 -0
- /package/src/phaser/geom/{point.test.js → point.test.ts} +0 -0
- /package/src/phaser/geom/{rectangle.test.js → rectangle.test.ts} +0 -0
- /package/src/phaser/geom/{rounded_rectangle.test.js → rounded_rectangle.test.ts} +0 -0
- /package/src/phaser/geom/util/{circle.test.js → circle.test.ts} +0 -0
- /package/src/phaser/geom/util/{circle.js → circle.ts} +0 -0
- /package/src/phaser/geom/util/{ellipse.test.js → ellipse.test.ts} +0 -0
- /package/src/phaser/geom/util/{ellipse.js → ellipse.ts} +0 -0
- /package/src/phaser/geom/util/{line.test.js → line.test.ts} +0 -0
- /package/src/phaser/geom/util/{line.js → line.ts} +0 -0
- /package/src/phaser/geom/util/{matrix.test.js → matrix.test.ts} +0 -0
- /package/src/phaser/geom/util/{matrix.js → matrix.ts} +0 -0
- /package/src/phaser/geom/util/{point.test.js → point.test.ts} +0 -0
- /package/src/phaser/geom/util/{point.js → point.ts} +0 -0
- /package/src/phaser/geom/util/{polygon.test.js → polygon.test.ts} +0 -0
- /package/src/phaser/geom/util/{polygon.js → polygon.ts} +0 -0
- /package/src/phaser/geom/util/{rectangle.test.js → rectangle.test.ts} +0 -0
- /package/src/phaser/geom/util/{rectangle.js → rectangle.ts} +0 -0
- /package/src/phaser/geom/util/{rounded_rectangle.test.js → rounded_rectangle.test.ts} +0 -0
- /package/src/phaser/geom/util/{rounded_rectangle.js → rounded_rectangle.ts} +0 -0
- /package/src/phaser/util/{math.test.js → math.test.ts} +0 -0
- /package/src/phaser/util/{math.js → math.ts} +0 -0
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { Point } from './point.js';
|
|
2
|
+
export declare class Rectangle {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
type: number;
|
|
2
8
|
/**
|
|
3
9
|
* Creates a new Rectangle instance.
|
|
4
10
|
* @param {number} x - The x coordinate of the top-left corner of the rectangle (default: 0).
|
|
@@ -7,29 +13,19 @@ export class Rectangle {
|
|
|
7
13
|
* @param {number} height - The height of the rectangle (default: 0).
|
|
8
14
|
*/
|
|
9
15
|
constructor(x?: number, y?: number, width?: number, height?: number);
|
|
10
|
-
/** @type {number} */
|
|
11
|
-
x: number;
|
|
12
|
-
/** @type {number} */
|
|
13
|
-
y: number;
|
|
14
|
-
/** @type {number} */
|
|
15
|
-
width: number;
|
|
16
|
-
/** @type {number} */
|
|
17
|
-
height: number;
|
|
18
|
-
/** @type {number} */
|
|
19
|
-
type: number;
|
|
20
16
|
/**
|
|
21
17
|
* Offsets the rectangle's position by the specified amounts.
|
|
22
18
|
* @param {number} dx - The amount to offset the x coordinate by.
|
|
23
19
|
* @param {number} dy - The amount to offset the y coordinate by.
|
|
24
20
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
25
21
|
*/
|
|
26
|
-
offset(dx:
|
|
22
|
+
offset(dx: any, dy: any): this;
|
|
27
23
|
/**
|
|
28
24
|
* Offsets the rectangle's position by the specified point coordinates.
|
|
29
25
|
* @param {Point} point - The point to offset the rectangle by.
|
|
30
26
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
31
27
|
*/
|
|
32
|
-
offsetPoint(point:
|
|
28
|
+
offsetPoint(point: any): this;
|
|
33
29
|
/**
|
|
34
30
|
* Sets the rectangle's position and size to new values.
|
|
35
31
|
* @param {number} x - The new x coordinate of the top-left corner of the rectangle.
|
|
@@ -38,39 +34,21 @@ export class Rectangle {
|
|
|
38
34
|
* @param {number} height - The new height of the rectangle.
|
|
39
35
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
40
36
|
*/
|
|
41
|
-
setTo(x:
|
|
37
|
+
setTo(x: any, y: any, width: any, height: any): this;
|
|
42
38
|
/**
|
|
43
39
|
* Scales the rectangle's size by the specified amounts.
|
|
44
40
|
* @param {number} x - The amount to scale the width by.
|
|
45
41
|
* @param {number} y - The amount to scale the height by (default: x).
|
|
46
42
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
47
43
|
*/
|
|
48
|
-
scale(x:
|
|
44
|
+
scale(x: any, y?: any): this;
|
|
49
45
|
/**
|
|
50
46
|
* Centers the rectangle on the specified point.
|
|
51
47
|
* @param {number} x - The x coordinate to center the rectangle on.
|
|
52
48
|
* @param {number} y - The y coordinate to center the rectangle on.
|
|
53
49
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
54
50
|
*/
|
|
55
|
-
centerOn(x:
|
|
56
|
-
/**
|
|
57
|
-
* Sets the x coordinate of the center of this rectangle.
|
|
58
|
-
*/
|
|
59
|
-
set centerX(value: number);
|
|
60
|
-
/**
|
|
61
|
-
* Gets the x coordinate of the center of this rectangle.
|
|
62
|
-
* @returns {number} The x coordinate of the center of this rectangle.
|
|
63
|
-
*/
|
|
64
|
-
get centerX(): number;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the y coordinate of the center of this rectangle.
|
|
67
|
-
*/
|
|
68
|
-
set centerY(value: number);
|
|
69
|
-
/**
|
|
70
|
-
* Gets the y coordinate of the center of this rectangle.
|
|
71
|
-
* @returns {number} The y coordinate of the center of this rectangle.
|
|
72
|
-
*/
|
|
73
|
-
get centerY(): number;
|
|
51
|
+
centerOn(x: any, y: any): this;
|
|
74
52
|
/**
|
|
75
53
|
* Floors the x and y coordinates of the rectangle (rounds down to nearest integer).
|
|
76
54
|
*/
|
|
@@ -92,71 +70,71 @@ export class Rectangle {
|
|
|
92
70
|
* @param {Rectangle} source - The rectangle to copy values from.
|
|
93
71
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
94
72
|
*/
|
|
95
|
-
copyFrom(source:
|
|
73
|
+
copyFrom(source: any): this;
|
|
96
74
|
/**
|
|
97
75
|
* Copies the values of this rectangle to another rectangle.
|
|
98
76
|
* @param {Rectangle} dest - The rectangle to copy values to.
|
|
99
77
|
* @returns {Rectangle} The destination rectangle.
|
|
100
78
|
*/
|
|
101
|
-
copyTo(dest:
|
|
79
|
+
copyTo(dest: any): any;
|
|
102
80
|
/**
|
|
103
81
|
* Increases the size of the rectangle by the specified amounts.
|
|
104
82
|
* @param {number} dx - The amount to increase the width by.
|
|
105
83
|
* @param {number} dy - The amount to increase the height by.
|
|
106
84
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
107
85
|
*/
|
|
108
|
-
inflate(dx:
|
|
86
|
+
inflate(dx: any, dy: any): any;
|
|
109
87
|
/**
|
|
110
88
|
* Gets the size of the rectangle as a point.
|
|
111
89
|
* @param {Point} output - The point to store the size in (optional).
|
|
112
90
|
* @returns {Point} The size of the rectangle as a point.
|
|
113
91
|
*/
|
|
114
|
-
size(output:
|
|
92
|
+
size(output: any): any;
|
|
115
93
|
/**
|
|
116
94
|
* Resizes the rectangle to the specified dimensions.
|
|
117
95
|
* @param {number} width - The new width of the rectangle.
|
|
118
96
|
* @param {number} height - The new height of the rectangle.
|
|
119
97
|
* @returns {Rectangle} This rectangle instance for chaining.
|
|
120
98
|
*/
|
|
121
|
-
resize(width:
|
|
99
|
+
resize(width: any, height: any): this;
|
|
122
100
|
/**
|
|
123
101
|
* Creates a clone of this rectangle.
|
|
124
102
|
* @param {Rectangle} output - The rectangle to store the clone in (optional).
|
|
125
103
|
* @returns {Rectangle} A new rectangle with the same values as this one.
|
|
126
104
|
*/
|
|
127
|
-
clone(output
|
|
105
|
+
clone(output?: any): any;
|
|
128
106
|
/**
|
|
129
107
|
* Checks if the specified point is contained within this rectangle.
|
|
130
108
|
* @param {number} x - The x coordinate of the point to check.
|
|
131
109
|
* @param {number} y - The y coordinate of the point to check.
|
|
132
110
|
* @returns {boolean} True if the point is contained within this rectangle, false otherwise.
|
|
133
111
|
*/
|
|
134
|
-
contains(x:
|
|
112
|
+
contains(x: any, y: any): boolean;
|
|
135
113
|
/**
|
|
136
114
|
* Checks if the specified rectangle is fully contained within this rectangle.
|
|
137
115
|
* @param {Rectangle} b - The rectangle to check if it's contained.
|
|
138
116
|
* @returns {boolean} True if the rectangle is contained within this rectangle, false otherwise.
|
|
139
117
|
*/
|
|
140
|
-
containsRect(b:
|
|
118
|
+
containsRect(b: any): boolean;
|
|
141
119
|
/**
|
|
142
120
|
* Checks if this rectangle is equal to another rectangle.
|
|
143
121
|
* @param {Rectangle} b - The rectangle to compare with.
|
|
144
122
|
* @returns {boolean} True if the rectangles have the same values, false otherwise.
|
|
145
123
|
*/
|
|
146
|
-
equals(b:
|
|
124
|
+
equals(b: any): boolean;
|
|
147
125
|
/**
|
|
148
126
|
* Gets the intersection of this rectangle and another rectangle.
|
|
149
127
|
* @param {Rectangle} b - The rectangle to intersect with.
|
|
150
128
|
* @param {Rectangle} out - The rectangle to store the result in (optional).
|
|
151
129
|
* @returns {Rectangle} The intersection of the two rectangles.
|
|
152
130
|
*/
|
|
153
|
-
intersection(b:
|
|
131
|
+
intersection(b: any, out?: any): any;
|
|
154
132
|
/**
|
|
155
133
|
* Checks if this rectangle intersects with another rectangle.
|
|
156
134
|
* @param {Rectangle} b - The rectangle to check for intersection with.
|
|
157
135
|
* @returns {boolean} True if the rectangles intersect, false otherwise.
|
|
158
136
|
*/
|
|
159
|
-
intersects(b:
|
|
137
|
+
intersects(b: any): boolean;
|
|
160
138
|
/**
|
|
161
139
|
* Checks if this rectangle intersects with the specified bounds.
|
|
162
140
|
* @param {number} left - The left boundary of the area to check for intersection.
|
|
@@ -166,27 +144,27 @@ export class Rectangle {
|
|
|
166
144
|
* @param {number} tolerance - A tolerance value to use when checking (default: 0).
|
|
167
145
|
* @returns {boolean} True if the rectangle intersects with the bounds, false otherwise.
|
|
168
146
|
*/
|
|
169
|
-
intersectsRaw(left:
|
|
147
|
+
intersectsRaw(left: any, right: any, top: any, bottom: any, tolerance: any): boolean;
|
|
170
148
|
/**
|
|
171
149
|
* Gets the union of this rectangle and another rectangle.
|
|
172
150
|
* @param {Rectangle} b - The rectangle to union with.
|
|
173
151
|
* @param {Rectangle} out - The rectangle to store the result in (optional).
|
|
174
152
|
* @returns {Rectangle} The union of the two rectangles.
|
|
175
153
|
*/
|
|
176
|
-
union(b:
|
|
154
|
+
union(b: any, out?: any): any;
|
|
177
155
|
/**
|
|
178
156
|
* Gets a random point within this rectangle.
|
|
179
157
|
* @param {Point} output - The point to store the result in (optional).
|
|
180
158
|
* @returns {Point} A random point within this rectangle.
|
|
181
159
|
*/
|
|
182
|
-
random(output?:
|
|
160
|
+
random(output?: any): any;
|
|
183
161
|
/**
|
|
184
162
|
* Gets a point at a specific position on the rectangle.
|
|
185
163
|
* @param {number} position - The position to get the point for (TOP_LEFT, TOP_CENTER, etc.).
|
|
186
164
|
* @param {Point} output - The point to store the result in (optional).
|
|
187
165
|
* @returns {Point} A point at the specified position on the rectangle.
|
|
188
166
|
*/
|
|
189
|
-
getPoint(position:
|
|
167
|
+
getPoint(position: any, output?: any): any;
|
|
190
168
|
/**
|
|
191
169
|
* Returns a string representation of this rectangle.
|
|
192
170
|
* @returns {string} A string representation of the rectangle.
|
|
@@ -202,78 +180,78 @@ export class Rectangle {
|
|
|
202
180
|
* @returns {number} Half the height of this rectangle.
|
|
203
181
|
*/
|
|
204
182
|
get halfHeight(): number;
|
|
205
|
-
/**
|
|
206
|
-
* Sets the top coordinate of this rectangle.
|
|
207
|
-
*/
|
|
208
|
-
set top(value: number);
|
|
209
183
|
/**
|
|
210
184
|
* Gets the top coordinate of this rectangle.
|
|
211
185
|
* @returns {number} The top coordinate of this rectangle.
|
|
212
186
|
*/
|
|
213
187
|
get top(): number;
|
|
214
188
|
/**
|
|
215
|
-
* Sets the top
|
|
189
|
+
* Sets the top coordinate of this rectangle.
|
|
216
190
|
*/
|
|
217
|
-
set
|
|
191
|
+
set top(value: number);
|
|
218
192
|
/**
|
|
219
193
|
* Gets the top-left point of this rectangle.
|
|
220
194
|
* @returns {Point} The top-left point of this rectangle.
|
|
221
195
|
*/
|
|
222
196
|
get topLeft(): Point;
|
|
223
197
|
/**
|
|
224
|
-
* Sets the top-
|
|
198
|
+
* Sets the top-left point of this rectangle.
|
|
225
199
|
*/
|
|
226
|
-
set
|
|
200
|
+
set topLeft(value: Point);
|
|
227
201
|
/**
|
|
228
202
|
* Gets the top-right point of this rectangle.
|
|
229
203
|
* @returns {Point} The top-right point of this rectangle.
|
|
230
204
|
*/
|
|
231
205
|
get topRight(): Point;
|
|
232
206
|
/**
|
|
233
|
-
* Sets the right
|
|
234
|
-
*/
|
|
235
|
-
set right(value: number);
|
|
236
|
-
/**
|
|
237
|
-
* Gets the right coordinate of this rectangle.
|
|
238
|
-
* @returns {number} The right coordinate of this rectangle.
|
|
239
|
-
*/
|
|
240
|
-
get right(): number;
|
|
241
|
-
/**
|
|
242
|
-
* Sets the bottom coordinate of this rectangle.
|
|
207
|
+
* Sets the top-right point of this rectangle.
|
|
243
208
|
*/
|
|
244
|
-
set
|
|
209
|
+
set topRight(value: Point);
|
|
245
210
|
/**
|
|
246
211
|
* Gets the bottom coordinate of this rectangle.
|
|
247
212
|
* @returns {number} The bottom coordinate of this rectangle.
|
|
248
213
|
*/
|
|
249
214
|
get bottom(): number;
|
|
250
215
|
/**
|
|
251
|
-
* Sets the bottom
|
|
216
|
+
* Sets the bottom coordinate of this rectangle.
|
|
252
217
|
*/
|
|
253
|
-
set
|
|
218
|
+
set bottom(value: number);
|
|
254
219
|
/**
|
|
255
220
|
* Gets the bottom-left point of this rectangle.
|
|
256
221
|
* @returns {Point} The bottom-left point of this rectangle.
|
|
257
222
|
*/
|
|
258
223
|
get bottomLeft(): Point;
|
|
259
224
|
/**
|
|
260
|
-
* Sets the bottom-
|
|
225
|
+
* Sets the bottom-left point of this rectangle.
|
|
261
226
|
*/
|
|
262
|
-
set
|
|
227
|
+
set bottomLeft(value: Point);
|
|
263
228
|
/**
|
|
264
229
|
* Gets the bottom-right point of this rectangle.
|
|
265
230
|
* @returns {Point} The bottom-right point of this rectangle.
|
|
266
231
|
*/
|
|
267
232
|
get bottomRight(): Point;
|
|
268
233
|
/**
|
|
269
|
-
* Sets the
|
|
234
|
+
* Sets the bottom-right point of this rectangle.
|
|
270
235
|
*/
|
|
271
|
-
set
|
|
236
|
+
set bottomRight(value: Point);
|
|
272
237
|
/**
|
|
273
238
|
* Gets the left coordinate of this rectangle.
|
|
274
239
|
* @returns {number} The left coordinate of this rectangle.
|
|
275
240
|
*/
|
|
276
241
|
get left(): number;
|
|
242
|
+
/**
|
|
243
|
+
* Sets the left coordinate of this rectangle.
|
|
244
|
+
*/
|
|
245
|
+
set left(value: number);
|
|
246
|
+
/**
|
|
247
|
+
* Gets the right coordinate of this rectangle.
|
|
248
|
+
* @returns {number} The right coordinate of this rectangle.
|
|
249
|
+
*/
|
|
250
|
+
get right(): number;
|
|
251
|
+
/**
|
|
252
|
+
* Sets the right coordinate of this rectangle.
|
|
253
|
+
*/
|
|
254
|
+
set right(value: number);
|
|
277
255
|
/**
|
|
278
256
|
* Gets the volume (area) of this rectangle.
|
|
279
257
|
* @returns {number} The volume (area) of this rectangle.
|
|
@@ -284,6 +262,24 @@ export class Rectangle {
|
|
|
284
262
|
* @returns {number} The perimeter of this rectangle.
|
|
285
263
|
*/
|
|
286
264
|
get perimeter(): number;
|
|
265
|
+
/**
|
|
266
|
+
* Gets the x coordinate of the center of this rectangle.
|
|
267
|
+
* @returns {number} The x coordinate of the center of this rectangle.
|
|
268
|
+
*/
|
|
269
|
+
get centerX(): number;
|
|
270
|
+
/**
|
|
271
|
+
* Sets the x coordinate of the center of this rectangle.
|
|
272
|
+
*/
|
|
273
|
+
set centerX(value: number);
|
|
274
|
+
/**
|
|
275
|
+
* Gets the y coordinate of the center of this rectangle.
|
|
276
|
+
* @returns {number} The y coordinate of the center of this rectangle.
|
|
277
|
+
*/
|
|
278
|
+
get centerY(): number;
|
|
279
|
+
/**
|
|
280
|
+
* Sets the y coordinate of the center of this rectangle.
|
|
281
|
+
*/
|
|
282
|
+
set centerY(value: number);
|
|
287
283
|
/**
|
|
288
284
|
* Gets a random x coordinate within this rectangle.
|
|
289
285
|
* @returns {number} A random x coordinate within this rectangle.
|
|
@@ -294,15 +290,14 @@ export class Rectangle {
|
|
|
294
290
|
* @returns {number} A random y coordinate within this rectangle.
|
|
295
291
|
*/
|
|
296
292
|
get randomY(): number;
|
|
297
|
-
/**
|
|
298
|
-
* Sets whether this rectangle is empty (zero width or height).
|
|
299
|
-
*/
|
|
300
|
-
set empty(value: boolean);
|
|
301
293
|
/**
|
|
302
294
|
* Checks if this rectangle is empty (has zero width or height).
|
|
303
295
|
* @returns {boolean} True if the rectangle is empty, false otherwise.
|
|
304
296
|
*/
|
|
305
297
|
get empty(): boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Sets whether this rectangle is empty (zero width or height).
|
|
300
|
+
*/
|
|
301
|
+
set empty(value: boolean);
|
|
306
302
|
}
|
|
307
|
-
import { Point } from './point.js';
|
|
308
303
|
//# sourceMappingURL=rectangle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rectangle.d.ts","sourceRoot":"","sources":["../../../src/phaser/geom/rectangle.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
export class RoundedRectangle {
|
|
1
|
+
export declare class RoundedRectangle {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
radius: number;
|
|
7
|
+
type: number;
|
|
2
8
|
/**
|
|
3
9
|
* Creates a new RoundedRectangle instance.
|
|
4
10
|
* @param {number} x - The x coordinate of the top-left corner of the rectangle (default: 0).
|
|
@@ -8,23 +14,17 @@ export class RoundedRectangle {
|
|
|
8
14
|
* @param {number} radius - The corner radius (default: 20).
|
|
9
15
|
*/
|
|
10
16
|
constructor(x?: number, y?: number, width?: number, height?: number, radius?: number);
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
radius: number;
|
|
16
|
-
type: number;
|
|
17
17
|
/**
|
|
18
18
|
* Checks if the specified point is contained within this rounded rectangle.
|
|
19
19
|
* @param {number} x - The x coordinate of the point to check.
|
|
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:
|
|
23
|
+
contains(x: any, y: any): 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():
|
|
28
|
+
clone(): any;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=rounded_rectangle.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clones a circle.
|
|
3
|
+
* @param {Circle} input - The circle to clone.
|
|
4
|
+
* @param {Circle} output - Optional circle to store the result in.
|
|
5
|
+
* @returns {Circle} The cloned circle.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clone: (input: any, output?: any) => any;
|
|
8
|
+
/**
|
|
9
|
+
* Checks if a point is contained within the circle.
|
|
10
|
+
* @param {Circle} a - The circle to check.
|
|
11
|
+
* @param {number} x - The x coordinate of the point.
|
|
12
|
+
* @param {number} y - The y coordinate of the point.
|
|
13
|
+
* @returns {boolean} True if the point is contained within the circle, false otherwise.
|
|
14
|
+
*/
|
|
15
|
+
export declare const contains: (a: any, x: any, y: any) => boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Checks if two circles are equal.
|
|
18
|
+
* @param {Circle} a - The first circle to compare.
|
|
19
|
+
* @param {Circle} b - The second circle to compare.
|
|
20
|
+
* @returns {boolean} True if the circles are equal, false otherwise.
|
|
21
|
+
*/
|
|
22
|
+
export declare const equals: (a: any, b: any) => boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Checks if two circles intersect.
|
|
25
|
+
* @param {Circle} a - The first circle to check.
|
|
26
|
+
* @param {Circle} b - The second circle to check.
|
|
27
|
+
* @returns {boolean} True if the circles intersect, false otherwise.
|
|
28
|
+
*/
|
|
29
|
+
export declare const intersects: (a: any, b: any) => boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Gets a point on the circumference of the circle at the specified angle.
|
|
32
|
+
* @param {Circle} a - The circle to get the point from.
|
|
33
|
+
* @param {number} angle - The angle in radians or degrees (depending on asDegrees).
|
|
34
|
+
* @param {boolean} asDegrees - True if the angle is in degrees, false if in radians.
|
|
35
|
+
* @param {Point} output - Optional point to store the result in.
|
|
36
|
+
* @returns {Point} The point on the circumference of the circle.
|
|
37
|
+
*/
|
|
38
|
+
export declare const circumferencePoint: (a: any, angle: any, asDegrees?: boolean, output?: any) => any;
|
|
39
|
+
/**
|
|
40
|
+
* Gets a point on the circumference of the circle at the specified angle.
|
|
41
|
+
* @param {Circle} a - The circle to get the point from.
|
|
42
|
+
* @param {number} angle - The angle in radians or degrees (depending on asDegrees).
|
|
43
|
+
* @param {boolean} asDegrees - True if the angle is in degrees, false if in radians.
|
|
44
|
+
* @param {Point} output - Optional point to store the result in.
|
|
45
|
+
* @returns {Point} The point on the circumference of the circle.
|
|
46
|
+
*/
|
|
47
|
+
export declare const intersectsPoint: (a: any, angle: any, asDegrees?: boolean, output?: any) => any;
|
|
48
|
+
/**
|
|
49
|
+
* Checks if a circle intersects with a rectangle.
|
|
50
|
+
* @param {Circle} c - The circle to check.
|
|
51
|
+
* @param {object} r - The rectangle to check.
|
|
52
|
+
* @returns {boolean} True if the circle intersects with the rectangle, false otherwise.
|
|
53
|
+
*/
|
|
54
|
+
export declare const intersectsRectangle: (c: any, r: any) => boolean;
|
|
55
|
+
//# sourceMappingURL=circle.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if a point is contained within the ellipse.
|
|
3
|
+
* @param {import('../ellipse.js').Ellipse} a - The ellipse to check.
|
|
4
|
+
* @param {number} x - The x coordinate of the point.
|
|
5
|
+
* @param {number} y - The y coordinate of the point.
|
|
6
|
+
* @returns {boolean} True if the point is contained within the ellipse, false otherwise.
|
|
7
|
+
*/
|
|
8
|
+
export declare const contains: (a: any, x: any, y: any) => boolean;
|
|
9
|
+
//# sourceMappingURL=ellipse.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clones a line.
|
|
3
|
+
* @param {Line} input - The line to clone.
|
|
4
|
+
* @param {Line} output - Optional line to store the result in.
|
|
5
|
+
* @returns {Line} The cloned line.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clone: (input: any, output?: any) => any;
|
|
8
|
+
/**
|
|
9
|
+
* Gets the intersection point of two lines.
|
|
10
|
+
* @param {object} a - The first line (with x1, y1, x2, y2 properties).
|
|
11
|
+
* @param {object} b - The second line (with x1, y1, x2, y2 properties).
|
|
12
|
+
* @param {object} e - The first endpoint of the first line (with x, y properties).
|
|
13
|
+
* @param {object} f - The second endpoint of the second line (with x, y properties).
|
|
14
|
+
* @param {boolean} asSegment - True if the lines are treated as segments, false if infinite lines.
|
|
15
|
+
* @param {Point} output - Optional point to store the result in.
|
|
16
|
+
* @returns {Point} The intersection point, or null if there is no intersection.
|
|
17
|
+
*/
|
|
18
|
+
export declare const intersectsPoints: (a: any, b: any, e: any, f: any, asSegment?: boolean, output?: any) => any;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the intersection point of two lines (alternative implementation).
|
|
21
|
+
* @param {object} a - The first line (with x1, y1, x2, y2 properties).
|
|
22
|
+
* @param {object} b - The second line (with x1, y1, x2, y2 properties).
|
|
23
|
+
* @param {boolean} asSegment - True if the lines are treated as segments, false if infinite lines.
|
|
24
|
+
* @param {Point} result - Optional point to store the result in.
|
|
25
|
+
* @returns {Point} The intersection point, or null if there is no intersection.
|
|
26
|
+
*/
|
|
27
|
+
export declare const intersects: (a: any, b: any, asSegment: any, result: any) => any;
|
|
28
|
+
/**
|
|
29
|
+
* Checks if a line intersects with a rectangle.
|
|
30
|
+
* @param {object} line - The line to check (with x1, y1, x2, y2 properties).
|
|
31
|
+
* @param {object} rect - The rectangle to check (with x, y, width, height properties).
|
|
32
|
+
* @returns {boolean} True if the line intersects with the rectangle, false otherwise.
|
|
33
|
+
*/
|
|
34
|
+
export declare const intersectsRectangle: (line: any, rect: any) => boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Calculates the distance between two points (line length).
|
|
37
|
+
* @param {object} a - The first point (with x, y properties).
|
|
38
|
+
* @param {object} b - The second point (with x, y properties).
|
|
39
|
+
* @returns {number} The distance between the points.
|
|
40
|
+
*/
|
|
41
|
+
export declare const reflect: (a: any, b: any) => number;
|
|
42
|
+
//# sourceMappingURL=line.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clones a matrix.
|
|
3
|
+
* @param {Matrix} input - The matrix to clone.
|
|
4
|
+
* @param {Matrix} output - Optional matrix to store the result in.
|
|
5
|
+
* @returns {Matrix} The cloned matrix.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clone: (input: any, output?: any) => any;
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new identity matrix.
|
|
10
|
+
* @returns {Matrix} A new identity matrix.
|
|
11
|
+
*/
|
|
12
|
+
export declare const getIdentityMatrix: () => any;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a new matrix with the specified values.
|
|
15
|
+
* @returns {Matrix} A new matrix.
|
|
16
|
+
*/
|
|
17
|
+
export declare const getTempMatrix: () => any;
|
|
18
|
+
//# sourceMappingURL=matrix.d.ts.map
|
|
@@ -0,0 +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"}
|