@vpmedia/phaser 1.102.0 → 1.104.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 +21129 -0
- package/dist/index.js.map +1 -0
- package/{types → dist}/phaser/core/animation.d.ts +80 -76
- package/dist/phaser/core/animation.d.ts.map +1 -0
- package/{types → dist}/phaser/core/animation_manager.d.ts +46 -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 +86 -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 +31 -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 +33 -35
- package/dist/phaser/core/event_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/core/factory.d.ts +10 -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 +14 -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 +63 -74
- package/dist/phaser/core/game.d.ts.map +1 -0
- package/{types → dist}/phaser/core/input.d.ts +68 -76
- package/dist/phaser/core/input.d.ts.map +1 -0
- package/{types → dist}/phaser/core/input_handler.d.ts +73 -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 +67 -0
- package/dist/phaser/core/input_mspointer.d.ts.map +1 -0
- package/dist/phaser/core/input_pointer.d.ts +150 -0
- package/dist/phaser/core/input_pointer.d.ts.map +1 -0
- package/{types → dist}/phaser/core/input_touch.d.ts +24 -25
- package/dist/phaser/core/input_touch.d.ts.map +1 -0
- package/{types → dist}/phaser/core/loader.d.ts +67 -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 +96 -124
- package/dist/phaser/core/scale_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/core/scene.d.ts +7 -3
- package/dist/phaser/core/scene.d.ts.map +1 -0
- package/{types → dist}/phaser/core/scene_manager.d.ts +25 -27
- 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 +115 -75
- package/dist/phaser/core/sound.d.ts.map +1 -0
- package/{types → dist}/phaser/core/sound_manager.d.ts +37 -43
- package/dist/phaser/core/sound_manager.d.ts.map +1 -0
- package/dist/phaser/core/sound_sprite.d.ts +33 -0
- package/dist/phaser/core/sound_sprite.d.ts.map +1 -0
- package/{types → dist}/phaser/core/stage.d.ts +33 -17
- package/dist/phaser/core/stage.d.ts.map +1 -0
- package/{types → dist}/phaser/core/time.d.ts +39 -64
- package/dist/phaser/core/time.d.ts.map +1 -0
- package/{types → dist}/phaser/core/timer.d.ts +34 -54
- package/dist/phaser/core/timer.d.ts.map +1 -0
- package/{types → dist}/phaser/core/timer_event.d.ts +11 -11
- package/dist/phaser/core/timer_event.d.ts.map +1 -0
- package/{types → dist}/phaser/core/tween.d.ts +54 -49
- package/dist/phaser/core/tween.d.ts.map +1 -0
- package/{types → dist}/phaser/core/tween_data.d.ts +33 -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 +13 -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 +65 -71
- package/dist/phaser/display/bitmap_text.d.ts.map +1 -0
- package/{types → dist}/phaser/display/button.d.ts +53 -37
- package/dist/phaser/display/button.d.ts.map +1 -0
- package/{types → dist}/phaser/display/canvas/buffer.d.ts +7 -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 +19 -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 +90 -95
- package/dist/phaser/display/display_object.d.ts.map +1 -0
- package/{types → dist}/phaser/display/graphics.d.ts +77 -65
- package/dist/phaser/display/graphics.d.ts.map +1 -0
- package/{types → dist}/phaser/display/graphics_data.d.ts +12 -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 +50 -40
- package/dist/phaser/display/group.d.ts.map +1 -0
- package/{types → dist}/phaser/display/image.d.ts +89 -50
- 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 +8 -8
- package/dist/phaser/display/webgl/abstract_filter.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/base_texture.d.ts +15 -15
- package/dist/phaser/display/webgl/base_texture.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/blend_manager.d.ts +9 -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 +21 -28
- package/dist/phaser/display/webgl/fast_sprite_batch.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/filter_manager.d.ts +9 -7
- package/dist/phaser/display/webgl/filter_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/filter_texture.d.ts +7 -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 +25 -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 +15 -13
- package/dist/phaser/display/webgl/render_texture.d.ts.map +1 -0
- package/dist/phaser/display/webgl/renderer.d.ts +68 -0
- package/dist/phaser/display/webgl/renderer.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/complex.d.ts +21 -0
- package/dist/phaser/display/webgl/shader/complex.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/fast.d.ts +22 -0
- package/dist/phaser/display/webgl/shader/fast.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/normal.d.ts +39 -0
- package/dist/phaser/display/webgl/shader/normal.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/primitive.d.ts +21 -0
- package/dist/phaser/display/webgl/shader/primitive.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader/strip.d.ts +21 -0
- package/dist/phaser/display/webgl/shader/strip.d.ts.map +1 -0
- package/dist/phaser/display/webgl/shader_manager.d.ts +37 -0
- package/dist/phaser/display/webgl/shader_manager.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/sprite_batch.d.ts +24 -31
- package/dist/phaser/display/webgl/sprite_batch.d.ts.map +1 -0
- package/{types → dist}/phaser/display/webgl/stencil_manager.d.ts +12 -9
- package/dist/phaser/display/webgl/stencil_manager.d.ts.map +1 -0
- package/dist/phaser/display/webgl/texture.d.ts +56 -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 +26 -12
- package/src/phaser/core/{animation.js → animation.ts} +50 -3
- package/src/phaser/core/{animation_manager.js → animation_manager.ts} +11 -1
- package/src/phaser/core/{array_set.js → array_set.ts} +4 -1
- package/src/phaser/core/{cache.js → cache.ts} +10 -1
- package/src/phaser/core/{device.js → device.ts} +25 -1
- package/src/phaser/core/{dom.js → dom.ts} +7 -0
- package/src/phaser/core/{event_manager.js → event_manager.ts} +18 -1
- package/src/phaser/core/{factory.js → factory.ts} +2 -0
- package/src/phaser/core/{frame.js → frame.ts} +2 -1
- package/src/phaser/core/{frame_data.js → frame_data.ts} +4 -1
- package/src/phaser/core/{frame_util.js → frame_util.ts} +2 -1
- package/src/phaser/core/{game.js → game.ts} +61 -4
- package/src/phaser/core/{input.js → input.ts} +52 -0
- package/src/phaser/core/{input_handler.js → input_handler.ts} +42 -0
- package/src/phaser/core/{input_mouse.js → input_mouse.ts} +24 -0
- package/src/phaser/core/{input_mspointer.js → input_mspointer.ts} +17 -0
- package/src/phaser/core/{input_pointer.js → input_pointer.ts} +45 -0
- package/src/phaser/core/{input_touch.js → input_touch.ts} +18 -0
- package/src/phaser/core/{loader.js → loader.ts} +30 -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} +56 -0
- package/src/phaser/core/{scene.js → scene.ts} +3 -0
- package/src/phaser/core/{scene_manager.js → scene_manager.ts} +16 -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} +100 -6
- package/src/phaser/core/{sound_manager.js → sound_manager.ts} +19 -1
- package/src/phaser/core/{sound_sprite.js → sound_sprite.ts} +8 -1
- package/src/phaser/core/{stage.js → stage.ts} +5 -0
- package/src/phaser/core/{time.js → time.ts} +29 -1
- package/src/phaser/core/{timer.js → timer.ts} +22 -1
- package/src/phaser/core/{timer_event.js → timer_event.ts} +11 -1
- package/src/phaser/core/{tween.js → tween.ts} +49 -2
- package/src/phaser/core/{tween_data.js → tween_data.ts} +26 -1
- package/src/phaser/core/{tween_manager.js → tween_manager.ts} +6 -1
- package/src/phaser/core/{world.js → world.ts} +1 -0
- package/src/phaser/display/{bitmap_text.js → bitmap_text.ts} +14 -0
- package/src/phaser/display/{button.js → button.ts} +29 -0
- package/src/phaser/display/canvas/{buffer.js → buffer.ts} +5 -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} +14 -0
- package/src/phaser/display/canvas/{tinter.js → tinter.ts} +1 -0
- package/src/phaser/display/{display_object.js → display_object.ts} +92 -31
- package/src/phaser/display/{graphics.js → graphics.ts} +19 -0
- package/src/phaser/display/{graphics_data.js → graphics_data.ts} +11 -0
- package/src/phaser/display/{graphics_data_util.js → graphics_data_util.ts} +1 -0
- package/src/phaser/display/{group.js → group.ts} +29 -0
- package/src/phaser/display/{image.js → image.ts} +45 -6
- 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} +7 -0
- package/src/phaser/display/webgl/{base_texture.js → base_texture.ts} +13 -0
- package/src/phaser/display/webgl/{blend_manager.js → blend_manager.ts} +3 -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} +16 -0
- package/src/phaser/display/webgl/{filter_manager.js → filter_manager.ts} +4 -0
- package/src/phaser/display/webgl/{filter_texture.js → filter_texture.ts} +5 -0
- package/src/phaser/display/webgl/{graphics.js → graphics.ts} +1 -0
- package/src/phaser/display/webgl/{graphics_data.js → graphics_data.ts} +10 -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} +11 -0
- package/src/phaser/display/webgl/{renderer.js → renderer.ts} +18 -0
- package/src/phaser/display/webgl/shader/{complex.js → complex.ts} +6 -0
- package/src/phaser/display/webgl/shader/{fast.js → fast.ts} +7 -0
- package/src/phaser/display/webgl/shader/{normal.js → normal.ts} +11 -0
- package/src/phaser/display/webgl/shader/{primitive.js → primitive.ts} +6 -0
- package/src/phaser/display/webgl/shader/{strip.js → strip.ts} +6 -0
- package/src/phaser/display/webgl/{shader_manager.js → shader_manager.ts} +11 -0
- package/src/phaser/display/webgl/{sprite_batch.js → sprite_batch.ts} +17 -0
- package/src/phaser/display/webgl/{stencil_manager.js → stencil_manager.ts} +4 -0
- package/src/phaser/display/webgl/{texture.js → texture.ts} +21 -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/.vscode/extensions.json +0 -6
- package/.vscode/settings.json +0 -27
- package/AGENTS.md +0 -1
- package/CHANGELOG.md +0 -336
- package/CLAUDE.md +0 -1
- 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.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.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,61 +1,37 @@
|
|
|
1
|
-
|
|
1
|
+
import { Timer } from './timer.js';
|
|
2
|
+
export declare class Time {
|
|
3
|
+
game: any;
|
|
4
|
+
time: any;
|
|
5
|
+
prevTime: any;
|
|
6
|
+
now: any;
|
|
7
|
+
elapsed: any;
|
|
8
|
+
elapsedMS: any;
|
|
9
|
+
desiredFpsMult: any;
|
|
10
|
+
_desiredFps: any;
|
|
11
|
+
suggestedFps: any;
|
|
12
|
+
advancedTiming: any;
|
|
13
|
+
frames: any;
|
|
14
|
+
fps: any;
|
|
15
|
+
fpsMin: any;
|
|
16
|
+
fpsMax: any;
|
|
17
|
+
msMin: any;
|
|
18
|
+
msMax: any;
|
|
19
|
+
pauseDuration: any;
|
|
20
|
+
timeToCall: any;
|
|
21
|
+
timeExpected: any;
|
|
22
|
+
events: any;
|
|
23
|
+
_frameCount: any;
|
|
24
|
+
_elapsedAccumulator: any;
|
|
25
|
+
_started: any;
|
|
26
|
+
_timeLastSecond: any;
|
|
27
|
+
_pauseStarted: any;
|
|
28
|
+
_justResumed: any;
|
|
29
|
+
_timers: any;
|
|
2
30
|
/**
|
|
3
31
|
* Creates a new Time instance.
|
|
4
32
|
* @param {import('./game.js').Game} game - Reference to the Phaser Game instance.
|
|
5
33
|
*/
|
|
6
|
-
constructor(game:
|
|
7
|
-
game: import("./game.js").Game;
|
|
8
|
-
/** @type {number} */
|
|
9
|
-
time: number;
|
|
10
|
-
/** @type {number} */
|
|
11
|
-
prevTime: number;
|
|
12
|
-
/** @type {number} */
|
|
13
|
-
now: number;
|
|
14
|
-
/** @type {number} */
|
|
15
|
-
elapsed: number;
|
|
16
|
-
/** @type {number} */
|
|
17
|
-
elapsedMS: number;
|
|
18
|
-
/** @type {number} */
|
|
19
|
-
desiredFpsMult: number;
|
|
20
|
-
/** @type {number} */
|
|
21
|
-
_desiredFps: number;
|
|
22
|
-
/** @type {number} */
|
|
23
|
-
suggestedFps: number;
|
|
24
|
-
/** @type {boolean} */
|
|
25
|
-
advancedTiming: boolean;
|
|
26
|
-
/** @type {number} */
|
|
27
|
-
frames: number;
|
|
28
|
-
/** @type {number} */
|
|
29
|
-
fps: number;
|
|
30
|
-
/** @type {number} */
|
|
31
|
-
fpsMin: number;
|
|
32
|
-
/** @type {number} */
|
|
33
|
-
fpsMax: number;
|
|
34
|
-
/** @type {number} */
|
|
35
|
-
msMin: number;
|
|
36
|
-
/** @type {number} */
|
|
37
|
-
msMax: number;
|
|
38
|
-
/** @type {number} */
|
|
39
|
-
pauseDuration: number;
|
|
40
|
-
/** @type {number} */
|
|
41
|
-
timeToCall: number;
|
|
42
|
-
/** @type {number} */
|
|
43
|
-
timeExpected: number;
|
|
44
|
-
/** @type {Timer} */
|
|
45
|
-
events: Timer;
|
|
46
|
-
/** @type {number} */
|
|
47
|
-
_frameCount: number;
|
|
48
|
-
/** @type {number} */
|
|
49
|
-
_elapsedAccumulator: number;
|
|
50
|
-
_started: number;
|
|
51
|
-
/** @type {number} */
|
|
52
|
-
_timeLastSecond: number;
|
|
53
|
-
/** @type {number} */
|
|
54
|
-
_pauseStarted: number;
|
|
55
|
-
/** @type {boolean} */
|
|
56
|
-
_justResumed: boolean;
|
|
57
|
-
/** @type {Timer[]} */
|
|
58
|
-
_timers: Timer[];
|
|
34
|
+
constructor(game: any);
|
|
59
35
|
/**
|
|
60
36
|
* Initializes the time manager and starts tracking time.
|
|
61
37
|
*/
|
|
@@ -65,7 +41,7 @@ export class Time {
|
|
|
65
41
|
* @param {Timer} timer - The Timer to add.
|
|
66
42
|
* @returns {Timer} The added Timer object.
|
|
67
43
|
*/
|
|
68
|
-
add(timer:
|
|
44
|
+
add(timer: any): any;
|
|
69
45
|
/**
|
|
70
46
|
* Creates a new Timer and adds it to the Time manager.
|
|
71
47
|
* @param {boolean} autoDestroy - Whether the timer should be automatically destroyed when it completes.
|
|
@@ -84,7 +60,7 @@ export class Time {
|
|
|
84
60
|
* Updates the Time manager with a new timestamp.
|
|
85
61
|
* @param {number} time - The new timestamp to use for updating.
|
|
86
62
|
*/
|
|
87
|
-
update(time:
|
|
63
|
+
update(time: any): void;
|
|
88
64
|
/**
|
|
89
65
|
* Updates all timers managed by the Time manager.
|
|
90
66
|
*/
|
|
@@ -111,13 +87,13 @@ export class Time {
|
|
|
111
87
|
* @param {number} since - The timestamp to calculate elapsed time from.
|
|
112
88
|
* @returns {number} The elapsed time in milliseconds.
|
|
113
89
|
*/
|
|
114
|
-
elapsedSince(since:
|
|
90
|
+
elapsedSince(since: any): number;
|
|
115
91
|
/**
|
|
116
92
|
* Gets the elapsed time in seconds since a given timestamp.
|
|
117
93
|
* @param {number} since - The timestamp to calculate elapsed time from.
|
|
118
94
|
* @returns {number} The elapsed time in seconds.
|
|
119
95
|
*/
|
|
120
|
-
elapsedSecondsSince(since:
|
|
96
|
+
elapsedSecondsSince(since: any): number;
|
|
121
97
|
/**
|
|
122
98
|
* Resets the time tracking values.
|
|
123
99
|
*/
|
|
@@ -126,15 +102,14 @@ export class Time {
|
|
|
126
102
|
* Destroys the Time manager and cleans up resources.
|
|
127
103
|
*/
|
|
128
104
|
destroy(): void;
|
|
129
|
-
/**
|
|
130
|
-
* Sets the desired frames per second.
|
|
131
|
-
*/
|
|
132
|
-
set desiredFps(value: number);
|
|
133
105
|
/**
|
|
134
106
|
* Gets the desired frames per second.
|
|
135
107
|
* @returns {number} The desired frames per second.
|
|
136
108
|
*/
|
|
137
|
-
get desiredFps():
|
|
109
|
+
get desiredFps(): any;
|
|
110
|
+
/**
|
|
111
|
+
* Sets the desired frames per second.
|
|
112
|
+
*/
|
|
113
|
+
set desiredFps(value: any);
|
|
138
114
|
}
|
|
139
|
-
import { Timer } from './timer.js';
|
|
140
115
|
//# sourceMappingURL=time.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/time.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,qBAAa,IAAI;IACjB,IAAI,MAAC;IACL,IAAI,MAAC;IACL,QAAQ,MAAC;IACT,GAAG,MAAC;IACJ,OAAO,MAAC;IACR,SAAS,MAAC;IACV,cAAc,MAAC;IACf,WAAW,MAAC;IACZ,YAAY,MAAC;IACb,cAAc,MAAC;IACf,MAAM,MAAC;IACP,GAAG,MAAC;IACJ,MAAM,MAAC;IACP,MAAM,MAAC;IACP,KAAK,MAAC;IACN,KAAK,MAAC;IACN,aAAa,MAAC;IACd,UAAU,MAAC;IACX,YAAY,MAAC;IACb,MAAM,MAAC;IACP,WAAW,MAAC;IACZ,mBAAmB,MAAC;IACpB,QAAQ,MAAC;IACT,eAAe,MAAC;IAChB,aAAa,MAAC;IACd,YAAY,MAAC;IACb,OAAO,MAAC;IACN;;;OAGG;gBACS,IAAI,KAAA;IAuDhB;;OAEG;IACH,IAAI;IAOJ;;;;OAIG;IACH,GAAG,CAAC,KAAK,KAAA;IAKT;;;;OAIG;IACH,MAAM,CAAC,WAAW,UAAO;IAMzB;;OAEG;IACH,SAAS;IAQT;;OAEG;IACH,OAAO;IAQP;;;OAGG;IACH,MAAM,CAAC,IAAI,KAAA;IA0BX;;OAEG;IACH,YAAY;IAcZ;;OAEG;IACH,oBAAoB;IAuBpB;;OAEG;IACH,UAAU;IAUV;;OAEG;IACH,WAAW;IAWX;;;OAGG;IACH,mBAAmB;IAInB;;;;OAIG;IACH,YAAY,CAAC,KAAK,KAAA;IAIlB;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,KAAA;IAIzB;;OAEG;IACH,KAAK;IAKL;;OAEG;IACH,OAAO;IAIP;;;OAGG;IACH,IAAI,UAAU,QAEb;IAED;;OAEG;IACH,IAAI,UAAU,CAAC,KAAK,KAAA,EAGnB;CACF"}
|
|
@@ -1,49 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
import { TimerEvent } from './timer_event.js';
|
|
2
|
+
export declare class Timer {
|
|
3
|
+
game: any;
|
|
4
|
+
running: any;
|
|
5
|
+
autoDestroy: any;
|
|
6
|
+
expired: any;
|
|
7
|
+
elapsed: any;
|
|
8
|
+
events: any;
|
|
9
|
+
onComplete: any;
|
|
10
|
+
nextTick: any;
|
|
11
|
+
timeCap: any;
|
|
12
|
+
paused: any;
|
|
13
|
+
_codePaused: any;
|
|
14
|
+
_started: any;
|
|
15
|
+
_pauseStarted: any;
|
|
16
|
+
_pauseTotal: any;
|
|
17
|
+
_now: any;
|
|
18
|
+
_len: any;
|
|
19
|
+
_marked: any;
|
|
20
|
+
_i: any;
|
|
21
|
+
_diff: any;
|
|
22
|
+
_newTick: any;
|
|
2
23
|
/**
|
|
3
24
|
* Creates a new Timer instance.
|
|
4
25
|
* @param {import('./game.js').Game} game - The game instance.
|
|
5
26
|
* @param {boolean} autoDestroy - Whether to automatically destroy the timer when it completes.
|
|
6
27
|
*/
|
|
7
|
-
constructor(game:
|
|
8
|
-
game: import("./game.js").Game;
|
|
9
|
-
/** @type {boolean} */
|
|
10
|
-
running: boolean;
|
|
11
|
-
/** @type {boolean} */
|
|
12
|
-
autoDestroy: boolean;
|
|
13
|
-
/** @type {boolean} */
|
|
14
|
-
expired: boolean;
|
|
15
|
-
/** @type {number} */
|
|
16
|
-
elapsed: number;
|
|
17
|
-
/** @type {TimerEvent[]} */
|
|
18
|
-
events: TimerEvent[];
|
|
19
|
-
/** @type {Signal} */
|
|
20
|
-
onComplete: Signal;
|
|
21
|
-
/** @type {number} */
|
|
22
|
-
nextTick: number;
|
|
23
|
-
/** @type {number} */
|
|
24
|
-
timeCap: number;
|
|
25
|
-
/** @type {boolean} */
|
|
26
|
-
paused: boolean;
|
|
27
|
-
/** @type {boolean} */
|
|
28
|
-
_codePaused: boolean;
|
|
29
|
-
/** @type {number} */
|
|
30
|
-
_started: number;
|
|
31
|
-
/** @type {number} */
|
|
32
|
-
_pauseStarted: number;
|
|
33
|
-
/** @type {number} */
|
|
34
|
-
_pauseTotal: number;
|
|
35
|
-
/** @type {number} */
|
|
36
|
-
_now: number;
|
|
37
|
-
/** @type {number} */
|
|
38
|
-
_len: number;
|
|
39
|
-
/** @type {number} */
|
|
40
|
-
_marked: number;
|
|
41
|
-
/** @type {number} */
|
|
42
|
-
_i: number;
|
|
43
|
-
/** @type {number} */
|
|
44
|
-
_diff: number;
|
|
45
|
-
/** @type {number} */
|
|
46
|
-
_newTick: number;
|
|
28
|
+
constructor(game: any, autoDestroy?: boolean);
|
|
47
29
|
/**
|
|
48
30
|
* Creates a new TimerEvent.
|
|
49
31
|
* @param {number} delay - The delay in milliseconds before the event fires.
|
|
@@ -54,7 +36,7 @@ export class Timer {
|
|
|
54
36
|
* @param {...any} args - Arguments to pass to the callback function.
|
|
55
37
|
* @returns {TimerEvent} The created TimerEvent.
|
|
56
38
|
*/
|
|
57
|
-
create(delay:
|
|
39
|
+
create(delay: any, loop: any, repeatCount: any, callback: any, callbackContext: any, args: any): TimerEvent;
|
|
58
40
|
/**
|
|
59
41
|
* Creates a new TimerEvent that runs once.
|
|
60
42
|
* @param {number} delay - The delay in milliseconds before the event fires.
|
|
@@ -63,7 +45,7 @@ export class Timer {
|
|
|
63
45
|
* @param {...any} args - Arguments to pass to the callback function.
|
|
64
46
|
* @returns {TimerEvent} The created TimerEvent.
|
|
65
47
|
*/
|
|
66
|
-
add(delay:
|
|
48
|
+
add(delay: any, callback: any, callbackContext?: any, ...args: any[]): TimerEvent;
|
|
67
49
|
/**
|
|
68
50
|
* Creates a new async TimerEvent that runs once.
|
|
69
51
|
* @template T
|
|
@@ -71,7 +53,7 @@ export class Timer {
|
|
|
71
53
|
* @param {...T} args - Arguments to pass to the resolve function.
|
|
72
54
|
* @returns {Promise<T | T[]>} The created Promise.
|
|
73
55
|
*/
|
|
74
|
-
wait
|
|
56
|
+
wait(delay: any, ...args: any[]): Promise<unknown>;
|
|
75
57
|
/**
|
|
76
58
|
* Creates a new TimerEvent that repeats a specified number of times.
|
|
77
59
|
* @param {number} delay - The delay in milliseconds before the event fires.
|
|
@@ -81,7 +63,7 @@ export class Timer {
|
|
|
81
63
|
* @param {...any} args - Arguments to pass to the callback function.
|
|
82
64
|
* @returns {TimerEvent} The created TimerEvent.
|
|
83
65
|
*/
|
|
84
|
-
repeat(delay:
|
|
66
|
+
repeat(delay: any, repeatCount: any, callback: any, callbackContext?: any, ...args: any[]): TimerEvent;
|
|
85
67
|
/**
|
|
86
68
|
* Creates a new TimerEvent that loops indefinitely.
|
|
87
69
|
* @param {number} delay - The delay in milliseconds before the event fires.
|
|
@@ -90,7 +72,7 @@ export class Timer {
|
|
|
90
72
|
* @param {...any} args - Arguments to pass to the callback function.
|
|
91
73
|
* @returns {TimerEvent} The created TimerEvent.
|
|
92
74
|
*/
|
|
93
|
-
loop(delay:
|
|
75
|
+
loop(delay: any, callback: any, callbackContext?: any, ...args: any[]): TimerEvent;
|
|
94
76
|
/**
|
|
95
77
|
* Starts the timer.
|
|
96
78
|
* @param {number} delay - The delay in milliseconds before starting (optional).
|
|
@@ -106,7 +88,7 @@ export class Timer {
|
|
|
106
88
|
* @param {TimerEvent | null | undefined} event - The TimerEvent to remove.
|
|
107
89
|
* @returns {boolean} True if the event was removed, false otherwise.
|
|
108
90
|
*/
|
|
109
|
-
remove(event:
|
|
91
|
+
remove(event: any): boolean;
|
|
110
92
|
/**
|
|
111
93
|
* Orders the timer events by their next tick time.
|
|
112
94
|
*/
|
|
@@ -117,7 +99,7 @@ export class Timer {
|
|
|
117
99
|
* @param {TimerEvent} b - Second TimerEvent to compare.
|
|
118
100
|
* @returns {number} Comparison result (-1, 0, or 1).
|
|
119
101
|
*/
|
|
120
|
-
sortHandler(a:
|
|
102
|
+
sortHandler(a: any, b: any): 0 | 1 | -1;
|
|
121
103
|
/**
|
|
122
104
|
* Clears pending events from the timer.
|
|
123
105
|
*/
|
|
@@ -127,7 +109,7 @@ export class Timer {
|
|
|
127
109
|
* @param {number} time - The current time in milliseconds.
|
|
128
110
|
* @returns {boolean} True if the timer should continue running, false if it should be destroyed.
|
|
129
111
|
*/
|
|
130
|
-
update(time:
|
|
112
|
+
update(time: any): boolean;
|
|
131
113
|
/**
|
|
132
114
|
* Pauses the timer.
|
|
133
115
|
*/
|
|
@@ -140,7 +122,7 @@ export class Timer {
|
|
|
140
122
|
* Adjusts timer events when time has jumped (e.g., when tab is switched).
|
|
141
123
|
* @param {number} baseTime - The time to adjust from.
|
|
142
124
|
*/
|
|
143
|
-
adjustEvents(baseTime:
|
|
125
|
+
adjustEvents(baseTime: any): void;
|
|
144
126
|
/**
|
|
145
127
|
* Resumes the timer.
|
|
146
128
|
*/
|
|
@@ -161,7 +143,7 @@ export class Timer {
|
|
|
161
143
|
* Gets the next tick time for the timer.
|
|
162
144
|
* @returns {number} The next tick time in milliseconds.
|
|
163
145
|
*/
|
|
164
|
-
get next():
|
|
146
|
+
get next(): any;
|
|
165
147
|
/**
|
|
166
148
|
* Gets the duration until the next event.
|
|
167
149
|
* @returns {number} The duration in milliseconds.
|
|
@@ -171,7 +153,7 @@ export class Timer {
|
|
|
171
153
|
* Gets the number of active events in the timer.
|
|
172
154
|
* @returns {number} The number of events.
|
|
173
155
|
*/
|
|
174
|
-
get length():
|
|
156
|
+
get length(): any;
|
|
175
157
|
/**
|
|
176
158
|
* Gets the elapsed time since the timer started.
|
|
177
159
|
* @returns {number} The elapsed time in milliseconds.
|
|
@@ -183,6 +165,4 @@ export class Timer {
|
|
|
183
165
|
*/
|
|
184
166
|
get seconds(): number;
|
|
185
167
|
}
|
|
186
|
-
import { TimerEvent } from './timer_event.js';
|
|
187
|
-
import { Signal } from './signal.js';
|
|
188
168
|
//# sourceMappingURL=timer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timer.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,qBAAa,KAAK;IAClB,IAAI,MAAC;IACL,OAAO,MAAC;IACR,WAAW,MAAC;IACZ,OAAO,MAAC;IACR,OAAO,MAAC;IACR,MAAM,MAAC;IACP,UAAU,MAAC;IACX,QAAQ,MAAC;IACT,OAAO,MAAC;IACR,MAAM,MAAC;IACP,WAAW,MAAC;IACZ,QAAQ,MAAC;IACT,aAAa,MAAC;IACd,WAAW,MAAC;IACZ,IAAI,MAAC;IACL,IAAI,MAAC;IACL,OAAO,MAAC;IACR,EAAE,MAAC;IACH,KAAK,MAAC;IACN,QAAQ,MAAC;IACP;;;;OAIG;gBACS,IAAI,KAAA,EAAE,WAAW,UAAQ;IA0CrC;;;;;;;;;OASG;IACH,MAAM,CAAC,KAAK,KAAA,EAAE,IAAI,KAAA,EAAE,WAAW,KAAA,EAAE,QAAQ,KAAA,EAAE,eAAe,KAAO,EAAE,IAAI,KAAA;IAevE;;;;;;;OAOG;IACH,GAAG,CAAC,KAAK,KAAA,EAAE,QAAQ,KAAA,EAAE,eAAe,MAAO,EAAE,GAAG,IAAI,OAAA;IAIpD;;;;;;OAMG;IACH,IAAI,CAAC,KAAK,KAAA,EAAE,GAAG,IAAI,OAAA;IAQnB;;;;;;;;OAQG;IACH,MAAM,CAAC,KAAK,KAAA,EAAE,WAAW,KAAA,EAAE,QAAQ,KAAA,EAAE,eAAe,MAAO,EAAE,GAAG,IAAI,OAAA;IAIpE;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,KAAA,EAAE,QAAQ,KAAA,EAAE,eAAe,MAAO,EAAE,GAAG,IAAI,OAAA;IAIrD;;;OAGG;IACH,KAAK,CAAC,KAAK,SAAI;IAWf;;;OAGG;IACH,IAAI,CAAC,WAAW,UAAO;IAOvB;;;;OAIG;IACH,MAAM,CAAC,KAAK,KAAA;IAUZ;;OAEG;IACH,KAAK;IAQL;;;;;OAKG;IACH,WAAW,CAAC,CAAC,KAAA,EAAE,CAAC,KAAA;IAShB;;OAEG;IACH,kBAAkB;IAYlB;;;;OAIG;IACH,MAAM,CAAC,IAAI,KAAA;IAuDX;;OAEG;IACH,KAAK;IAYL;;OAEG;IACH,MAAM;IAQN;;;OAGG;IACH,YAAY,CAAC,QAAQ,KAAA;IAoBrB;;OAEG;IACH,MAAM;IAYN;;OAEG;IACH,OAAO;IAOP;;OAEG;IACH,SAAS;IAOT;;OAEG;IACH,OAAO;IAQP;;;OAGG;IACH,IAAI,IAAI,QAEP;IAED;;;OAGG;IACH,IAAI,QAAQ,WAKX;IAED;;;OAGG;IACH,IAAI,MAAM,QAET;IAED;;;OAGG;IACH,IAAI,EAAE,WAKL;IAED;;;OAGG;IACH,IAAI,OAAO,WAKV;CACF"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
export class TimerEvent {
|
|
1
|
+
export declare class TimerEvent {
|
|
2
|
+
timer: any;
|
|
3
|
+
delay: any;
|
|
4
|
+
tick: any;
|
|
5
|
+
repeatCount: any;
|
|
6
|
+
loop: any;
|
|
7
|
+
callback: any;
|
|
8
|
+
callbackContext: any;
|
|
9
|
+
args: any;
|
|
10
|
+
pendingDelete: any;
|
|
2
11
|
/**
|
|
3
12
|
* Creates a new TimerEvent instance.
|
|
4
13
|
* @param {import('./timer.js').Timer} timer - Reference to the parent Timer.
|
|
@@ -10,15 +19,6 @@ export class TimerEvent {
|
|
|
10
19
|
* @param {object} callbackContext - The context in which to call the callback function.
|
|
11
20
|
* @param {...any} args - Arguments to pass to the callback function.
|
|
12
21
|
*/
|
|
13
|
-
constructor(timer:
|
|
14
|
-
timer: import("./timer.js").Timer;
|
|
15
|
-
delay: number;
|
|
16
|
-
tick: number;
|
|
17
|
-
repeatCount: number;
|
|
18
|
-
loop: boolean;
|
|
19
|
-
callback: Function;
|
|
20
|
-
callbackContext: any;
|
|
21
|
-
args: any;
|
|
22
|
-
pendingDelete: boolean;
|
|
22
|
+
constructor(timer: any, delay: any, tick: any, repeatCount: any, loop: any, callback: any, callbackContext: any, args: any);
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=timer_event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timer_event.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/timer_event.ts"],"names":[],"mappings":"AACA,qBAAa,UAAU;IACvB,KAAK,MAAC;IACN,KAAK,MAAC;IACN,IAAI,MAAC;IACL,WAAW,MAAC;IACZ,IAAI,MAAC;IACL,QAAQ,MAAC;IACT,eAAe,MAAC;IAChB,IAAI,MAAC;IACL,aAAa,MAAC;IACZ;;;;;;;;;;OAUG;gBACS,KAAK,KAAA,EAAE,KAAK,KAAA,EAAE,IAAI,KAAA,EAAE,WAAW,KAAA,EAAE,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,eAAe,KAAA,EAAE,IAAI,KAAA;CAWnF"}
|
|
@@ -1,51 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
constructor(target: import("../display/display_object.js").DisplayObject, game: import("./game.js").Game, manager: import("./tween_manager.js").TweenManager);
|
|
9
|
-
game: import("./game.js").Game;
|
|
10
|
-
target: import("../display/display_object.js").DisplayObject;
|
|
1
|
+
import * as MathUtils from '../util/math.js';
|
|
2
|
+
export declare class Tween {
|
|
3
|
+
/** @type {import('./game.js').Game} */
|
|
4
|
+
game: any;
|
|
5
|
+
/** @type {import('../display/display_object.js').DisplayObject} */
|
|
6
|
+
target: any;
|
|
11
7
|
/** @type {import('./tween_manager.js').TweenManager} */
|
|
12
|
-
manager:
|
|
8
|
+
manager: any;
|
|
13
9
|
/** @type {TweenData[]} */
|
|
14
|
-
timeline:
|
|
10
|
+
timeline: any;
|
|
15
11
|
/** @type {boolean} */
|
|
16
|
-
reverse:
|
|
12
|
+
reverse: any;
|
|
17
13
|
/** @type {number} */
|
|
18
|
-
timeScale:
|
|
14
|
+
timeScale: any;
|
|
19
15
|
/** @type {number} */
|
|
20
|
-
repeatCounter:
|
|
16
|
+
repeatCounter: any;
|
|
21
17
|
/** @type {boolean} */
|
|
22
|
-
pendingDelete:
|
|
18
|
+
pendingDelete: any;
|
|
23
19
|
/** @type {Signal} */
|
|
24
|
-
onStart:
|
|
20
|
+
onStart: any;
|
|
25
21
|
/** @type {Signal} */
|
|
26
|
-
onLoop:
|
|
22
|
+
onLoop: any;
|
|
27
23
|
/** @type {Signal} */
|
|
28
|
-
onRepeat:
|
|
24
|
+
onRepeat: any;
|
|
29
25
|
/** @type {Signal} */
|
|
30
|
-
onChildComplete:
|
|
26
|
+
onChildComplete: any;
|
|
31
27
|
/** @type {Signal} */
|
|
32
|
-
onComplete:
|
|
28
|
+
onComplete: any;
|
|
33
29
|
/** @type {boolean} */
|
|
34
|
-
isRunning:
|
|
30
|
+
isRunning: any;
|
|
35
31
|
/** @type {number} */
|
|
36
|
-
current:
|
|
37
|
-
|
|
32
|
+
current: any;
|
|
33
|
+
/** @type {object} */
|
|
34
|
+
properties: any;
|
|
35
|
+
/** @type {Tween | null} */
|
|
38
36
|
chainedTween: any;
|
|
39
37
|
/** @type {boolean} */
|
|
40
|
-
isPaused:
|
|
41
|
-
|
|
38
|
+
isPaused: any;
|
|
39
|
+
/** @type {Function | null} */
|
|
40
|
+
_onUpdateCallback: any;
|
|
41
|
+
/** @type {object | null} */
|
|
42
42
|
_onUpdateCallbackContext: any;
|
|
43
43
|
/** @type {number} */
|
|
44
|
-
_pausedTime:
|
|
44
|
+
_pausedTime: any;
|
|
45
45
|
/** @type {boolean} */
|
|
46
|
-
_codePaused:
|
|
46
|
+
_codePaused: any;
|
|
47
47
|
/** @type {boolean} */
|
|
48
|
-
_hasStarted:
|
|
48
|
+
_hasStarted: any;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a new Tween instance.
|
|
51
|
+
* @param {import('../display/display_object.js').DisplayObject} target - The object to tween.
|
|
52
|
+
* @param {import('./game.js').Game} game - Reference to the Phaser Game instance.
|
|
53
|
+
* @param {import('./tween_manager.js').TweenManager} manager - Reference to the Tween Manager.
|
|
54
|
+
*/
|
|
55
|
+
constructor(target: any, game: any, manager: any);
|
|
49
56
|
/**
|
|
50
57
|
* Adds a tween to the timeline that animates properties to their target values.
|
|
51
58
|
* @param {object} properties - The properties to tween and their target values.
|
|
@@ -57,7 +64,7 @@ export class Tween {
|
|
|
57
64
|
* @param {boolean} yoyo - Whether to reverse the tween on repeat.
|
|
58
65
|
* @returns {Tween} This Tween object for chaining.
|
|
59
66
|
*/
|
|
60
|
-
to(properties:
|
|
67
|
+
to(properties: any, duration?: number, ease?: string, autoStart?: boolean, delay?: number, repeat?: number, yoyo?: boolean): this;
|
|
61
68
|
/**
|
|
62
69
|
* Adds a tween to the timeline that animates properties from their current values.
|
|
63
70
|
* @param {object} properties - The properties to tween and their target values.
|
|
@@ -69,19 +76,19 @@ export class Tween {
|
|
|
69
76
|
* @param {boolean} yoyo - Whether to reverse the tween on repeat.
|
|
70
77
|
* @returns {Tween} This Tween object for chaining.
|
|
71
78
|
*/
|
|
72
|
-
from(properties:
|
|
79
|
+
from(properties: any, duration?: number, ease?: string, autoStart?: boolean, delay?: number, repeat?: number, yoyo?: boolean): this;
|
|
73
80
|
/**
|
|
74
81
|
* Starts the tween timeline from a specific index.
|
|
75
82
|
* @param {number} index - The index to start from in the timeline.
|
|
76
83
|
* @returns {Tween} This Tween object for chaining.
|
|
77
84
|
*/
|
|
78
|
-
start(index?: number):
|
|
85
|
+
start(index?: number): this;
|
|
79
86
|
/**
|
|
80
87
|
* Stops the tween and optionally completes it.
|
|
81
88
|
* @param {boolean} complete - Whether to dispatch the complete event.
|
|
82
89
|
* @returns {Tween} This Tween object for chaining.
|
|
83
90
|
*/
|
|
84
|
-
stop(complete?: boolean):
|
|
91
|
+
stop(complete?: boolean): this;
|
|
85
92
|
/**
|
|
86
93
|
* Updates a property in the tween data.
|
|
87
94
|
* @param {string} property - The property name to update.
|
|
@@ -89,14 +96,14 @@ export class Tween {
|
|
|
89
96
|
* @param {number} index - The index in the timeline to update.
|
|
90
97
|
* @returns {Tween} This Tween object for chaining.
|
|
91
98
|
*/
|
|
92
|
-
updateTweenData(property:
|
|
99
|
+
updateTweenData(property: any, value: any, index?: number): this;
|
|
93
100
|
/**
|
|
94
101
|
* Sets a delay for a specific timeline entry.
|
|
95
102
|
* @param {number} duration - The delay in milliseconds.
|
|
96
103
|
* @param {number} index - The index in the timeline to apply the delay to.
|
|
97
104
|
* @returns {Tween} This Tween object for chaining.
|
|
98
105
|
*/
|
|
99
|
-
delay(duration:
|
|
106
|
+
delay(duration: any, index: any): this;
|
|
100
107
|
/**
|
|
101
108
|
* Sets how many times to repeat the tween.
|
|
102
109
|
* @param {number} total - The number of times to repeat (-1 for infinite).
|
|
@@ -104,14 +111,14 @@ export class Tween {
|
|
|
104
111
|
* @param {number} index - The index in the timeline to apply the repeat to.
|
|
105
112
|
* @returns {Tween} This Tween object for chaining.
|
|
106
113
|
*/
|
|
107
|
-
repeat(total:
|
|
114
|
+
repeat(total: any, repeatDelay?: number, index?: number): this;
|
|
108
115
|
/**
|
|
109
116
|
* Sets the repeat delay for a specific timeline entry.
|
|
110
117
|
* @param {number} duration - The delay between repeats in milliseconds.
|
|
111
118
|
* @param {number} index - The index in the timeline to apply the delay to.
|
|
112
119
|
* @returns {Tween} This Tween object for chaining.
|
|
113
120
|
*/
|
|
114
|
-
repeatDelay(duration:
|
|
121
|
+
repeatDelay(duration: any, index: any): this;
|
|
115
122
|
/**
|
|
116
123
|
* Enables or disables yoyo behavior for a timeline entry.
|
|
117
124
|
* @param {boolean} enable - Whether to enable yoyo behavior.
|
|
@@ -119,21 +126,21 @@ export class Tween {
|
|
|
119
126
|
* @param {number} index - The index in the timeline to apply yoyo to.
|
|
120
127
|
* @returns {Tween} This Tween object for chaining.
|
|
121
128
|
*/
|
|
122
|
-
yoyo(enable:
|
|
129
|
+
yoyo(enable: any, yoyoDelay?: number, index?: number): this;
|
|
123
130
|
/**
|
|
124
131
|
* Sets the yoyo delay for a specific timeline entry.
|
|
125
132
|
* @param {number} duration - The delay between yoyo cycles in milliseconds.
|
|
126
133
|
* @param {number} index - The index in the timeline to apply the delay to.
|
|
127
134
|
* @returns {Tween} This Tween object for chaining.
|
|
128
135
|
*/
|
|
129
|
-
yoyoDelay(duration:
|
|
136
|
+
yoyoDelay(duration: any, index: any): this;
|
|
130
137
|
/**
|
|
131
138
|
* Sets the easing function for a timeline entry.
|
|
132
139
|
* @param {string|Function} ease - The easing function to use.
|
|
133
140
|
* @param {number} index - The index in the timeline to apply easing to.
|
|
134
141
|
* @returns {Tween} This Tween object for chaining.
|
|
135
142
|
*/
|
|
136
|
-
easing(ease:
|
|
143
|
+
easing(ease: any, index: any): this;
|
|
137
144
|
/**
|
|
138
145
|
* Sets the interpolation function for a timeline entry.
|
|
139
146
|
* @param {Function} interpolation - The interpolation function to use.
|
|
@@ -141,32 +148,32 @@ export class Tween {
|
|
|
141
148
|
* @param {number} index - The index in the timeline to apply interpolation to.
|
|
142
149
|
* @returns {Tween} This Tween object for chaining.
|
|
143
150
|
*/
|
|
144
|
-
interpolation(interpolation:
|
|
151
|
+
interpolation(interpolation: any, context?: typeof MathUtils, index?: number): this;
|
|
145
152
|
/**
|
|
146
153
|
* Sets how many times to repeat all timeline entries.
|
|
147
154
|
* @param {number} total - The number of times to repeat (-1 for infinite).
|
|
148
155
|
* @returns {Tween} This Tween object for chaining.
|
|
149
156
|
*/
|
|
150
|
-
repeatAll(total?: number):
|
|
157
|
+
repeatAll(total?: number): this;
|
|
151
158
|
/**
|
|
152
159
|
* Chains one or more tweens to this tween.
|
|
153
160
|
* @param {...any} args - The tweens to chain.
|
|
154
161
|
* @returns {Tween} This Tween object for chaining.
|
|
155
162
|
*/
|
|
156
|
-
chain(...args: any[]):
|
|
163
|
+
chain(...args: any[]): this;
|
|
157
164
|
/**
|
|
158
165
|
* Sets whether the tween should loop infinitely.
|
|
159
166
|
* @param {boolean} value - Whether to loop infinitely.
|
|
160
167
|
* @returns {Tween} This Tween object for chaining.
|
|
161
168
|
*/
|
|
162
|
-
loop(value?: boolean):
|
|
169
|
+
loop(value?: boolean): this;
|
|
163
170
|
/**
|
|
164
171
|
* Sets a callback to be called when the tween updates.
|
|
165
172
|
* @param {Function} callback - The callback function to call.
|
|
166
173
|
* @param {object} callbackContext - The context in which to call the callback.
|
|
167
174
|
* @returns {Tween} This Tween object for chaining.
|
|
168
175
|
*/
|
|
169
|
-
onUpdateCallback(callback:
|
|
176
|
+
onUpdateCallback(callback: any, callbackContext: any): this;
|
|
170
177
|
/**
|
|
171
178
|
* Pauses the tween.
|
|
172
179
|
*/
|
|
@@ -188,20 +195,18 @@ export class Tween {
|
|
|
188
195
|
* @param {number} time - The current game time.
|
|
189
196
|
* @returns {boolean} True if the tween should continue running, false if it's complete.
|
|
190
197
|
*/
|
|
191
|
-
update(time:
|
|
198
|
+
update(time: any): any;
|
|
192
199
|
/**
|
|
193
200
|
* Generates animation data for a given frame rate.
|
|
194
201
|
* @param {number} frameRate - The target frame rate.
|
|
195
202
|
* @param {object[]} data - The array to store the generated data in.
|
|
196
203
|
* @returns {object[]} The populated data array.
|
|
197
204
|
*/
|
|
198
|
-
generateData(frameRate?: number, data?:
|
|
205
|
+
generateData(frameRate?: number, data?: any[]): any[];
|
|
199
206
|
/**
|
|
200
207
|
* Gets the total duration of all timeline entries.
|
|
201
208
|
* @returns {number} The total duration in milliseconds.
|
|
202
209
|
*/
|
|
203
210
|
get totalDuration(): number;
|
|
204
211
|
}
|
|
205
|
-
import { TweenData } from './tween_data.js';
|
|
206
|
-
import { Signal } from './signal.js';
|
|
207
212
|
//# sourceMappingURL=tween.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tween.d.ts","sourceRoot":"","sources":["../../../src/phaser/core/tween.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,SAAS,MAAM,iBAAiB,CAAC;AAK7C,qBAAa,KAAK;IAChB,uCAAuC;IACvC,IAAI,MAAC;IACL,mEAAmE;IACnE,MAAM,MAAC;IACP,wDAAwD;IACxD,OAAO,MAAC;IACR,0BAA0B;IAC1B,QAAQ,MAAC;IACT,sBAAsB;IACtB,OAAO,MAAC;IACR,qBAAqB;IACrB,SAAS,MAAC;IACV,qBAAqB;IACrB,aAAa,MAAC;IACd,sBAAsB;IACtB,aAAa,MAAC;IACd,qBAAqB;IACrB,OAAO,MAAC;IACR,qBAAqB;IACrB,MAAM,MAAC;IACP,qBAAqB;IACrB,QAAQ,MAAC;IACT,qBAAqB;IACrB,eAAe,MAAC;IAChB,qBAAqB;IACrB,UAAU,MAAC;IACX,sBAAsB;IACtB,SAAS,MAAC;IACV,qBAAqB;IACrB,OAAO,MAAC;IACR,qBAAqB;IACrB,UAAU,MAAC;IACX,2BAA2B;IAC3B,YAAY,MAAC;IACb,sBAAsB;IACtB,QAAQ,MAAC;IACT,8BAA8B;IAC9B,iBAAiB,MAAC;IAClB,4BAA4B;IAC5B,wBAAwB,MAAC;IACzB,qBAAqB;IACrB,WAAW,MAAC;IACZ,sBAAsB;IACtB,WAAW,MAAC;IACZ,sBAAsB;IACtB,WAAW,MAAC;IACZ;;;;;OAKG;gBACS,MAAM,KAAA,EAAE,IAAI,KAAA,EAAE,OAAO,KAAA;IA2CjC;;;;;;;;;;OAUG;IACH,EAAE,CAAC,UAAU,KAAA,EAAE,QAAQ,SAAO,EAAE,IAAI,SAAW,EAAE,SAAS,UAAQ,EAAE,KAAK,SAAI,EAAE,MAAM,SAAI,EAAE,IAAI,UAAQ;IAevG;;;;;;;;;;OAUG;IACH,IAAI,CAAC,UAAU,KAAA,EAAE,QAAQ,SAAO,EAAE,IAAI,SAAW,EAAE,SAAS,UAAQ,EAAE,KAAK,SAAI,EAAE,MAAM,SAAI,EAAE,IAAI,UAAQ;IAgBzG;;;;OAIG;IACH,KAAK,CAAC,KAAK,SAAI;IA8Bf;;;;OAIG;IACH,IAAI,CAAC,QAAQ,UAAQ;IAerB;;;;;;OAMG;IACH,eAAe,CAAC,QAAQ,KAAA,EAAE,KAAK,KAAA,EAAE,KAAK,SAAI;IAc1C;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,KAAA,EAAE,KAAK,KAAA;IAIrB;;;;;;OAMG;IACH,MAAM,CAAC,KAAK,KAAA,EAAE,WAAW,SAAI,EAAE,KAAK,SAAI;IAKxC;;;;;OAKG;IACH,WAAW,CAAC,QAAQ,KAAA,EAAE,KAAK,KAAA;IAI3B;;;;;;OAMG;IACH,IAAI,CAAC,MAAM,KAAA,EAAE,SAAS,SAAI,EAAE,KAAK,SAAI;IAKrC;;;;;OAKG;IACH,SAAS,CAAC,QAAQ,KAAA,EAAE,KAAK,KAAA;IAIzB;;;;;OAKG;IACH,MAAM,CAAC,IAAI,KAAA,EAAE,KAAK,KAAA;IAOlB;;;;;;OAMG;IACH,aAAa,CAAC,aAAa,KAAA,EAAE,OAAO,mBAAY,EAAE,KAAK,SAAI;IAK3D;;;;OAIG;IACH,SAAS,CAAC,KAAK,SAAI;IAKnB;;;;OAIG;IACH,KAAK,CAAC,GAAG,IAAI,OAAA;IAab;;;;OAIG;IACH,IAAI,CAAC,KAAK,UAAO;IAKjB;;;;;OAKG;IACH,gBAAgB,CAAC,QAAQ,KAAA,EAAE,eAAe,KAAA;IAM1C;;OAEG;IACH,KAAK;IAML;;OAEG;IACH,MAAM;IAON;;OAEG;IACH,MAAM;IAYN;;OAEG;IACH,OAAO;IAMP;;;;OAIG;IACH,MAAM,CAAC,IAAI,KAAA;IA8EX;;;;;OAKG;IACH,YAAY,CAAC,SAAS,SAAK,EAAE,IAAI,QAAK;IA0BtC;;;OAGG;IACH,IAAI,aAAa,WAMhB;CACF"}
|