excalibur 0.33.0-alpha.21 → 0.33.0-alpha.24
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/.git-blame-ignore-revs +2 -1
- package/build/dist/{Actions/Action/ActionSequence.d.ts → actions/action/action-sequence.d.ts} +3 -3
- package/build/dist/{Actions/Action/Blink.d.ts → actions/action/blink.d.ts} +2 -2
- package/build/dist/{Actions/Action/CallMethod.d.ts → actions/action/call-method.d.ts} +1 -1
- package/build/dist/{Actions/Action/CurveBy.d.ts → actions/action/curve-by.d.ts} +3 -3
- package/build/dist/{Actions/Action/CurveTo.d.ts → actions/action/curve-to.d.ts} +3 -3
- package/build/dist/{Actions/Action/Delay.d.ts → actions/action/delay.d.ts} +1 -1
- package/build/dist/{Actions/Action/Die.d.ts → actions/action/die.d.ts} +2 -2
- package/build/dist/{Actions/Action/EaseBy.d.ts → actions/action/ease-by.d.ts} +2 -2
- package/build/dist/{Actions/Action/EaseTo.d.ts → actions/action/ease-to.d.ts} +2 -2
- package/build/dist/{Actions/Action/Fade.d.ts → actions/action/fade.d.ts} +2 -2
- package/build/dist/{Actions/Action/Flash.d.ts → actions/action/flash.d.ts} +3 -3
- package/build/dist/{Actions/Action/Follow.d.ts → actions/action/follow.d.ts} +2 -2
- package/build/dist/{Actions/Action/Meet.d.ts → actions/action/meet.d.ts} +2 -2
- package/build/dist/{Actions/Action/MoveBy.d.ts → actions/action/move-by.d.ts} +5 -5
- package/build/dist/{Actions/Action/MoveTo.d.ts → actions/action/move-to.d.ts} +5 -5
- package/build/dist/{Actions/Action/ParallelActions.d.ts → actions/action/parallel-actions.d.ts} +2 -2
- package/build/dist/{Actions/Action/RepeatForever.d.ts → actions/action/repeat-forever.d.ts} +3 -3
- package/build/dist/{Actions/Action/Repeat.d.ts → actions/action/repeat.d.ts} +3 -3
- package/build/dist/{Actions/Action/RotateBy.d.ts → actions/action/rotate-by.d.ts} +3 -3
- package/build/dist/{Actions/Action/RotateTo.d.ts → actions/action/rotate-to.d.ts} +3 -3
- package/build/dist/{Actions/Action/ScaleBy.d.ts → actions/action/scale-by.d.ts} +3 -3
- package/build/dist/{Actions/Action/ScaleTo.d.ts → actions/action/scale-to.d.ts} +3 -3
- package/build/dist/{Actions/ActionContext.d.ts → actions/action-context.d.ts} +15 -15
- package/build/dist/{Actions/ActionQueue.d.ts → actions/action-queue.d.ts} +2 -2
- package/build/dist/{Actions/Action.d.ts → actions/action.d.ts} +1 -1
- package/build/dist/{Actions/Actionable.d.ts → actions/actionable.d.ts} +1 -1
- package/build/dist/{Actions/ActionsComponent.d.ts → actions/actions-component.d.ts} +14 -14
- package/build/dist/{Actions/ActionsSystem.d.ts → actions/actions-system.d.ts} +3 -3
- package/build/dist/actions/index.d.ts +27 -0
- package/build/dist/{Actor.d.ts → actor.d.ts} +27 -27
- package/build/dist/{Camera.d.ts → camera.d.ts} +12 -12
- package/build/dist/{Collision/BodyComponent.d.ts → collision/body-component.d.ts} +13 -13
- package/build/dist/{Collision/BoundingBox.d.ts → collision/bounding-box.d.ts} +5 -5
- package/build/dist/{Collision/ColliderComponent.d.ts → collision/collider-component.d.ts} +12 -12
- package/build/dist/{Collision/Colliders/CircleCollider.d.ts → collision/colliders/circle-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/ClosestLineJumpTable.d.ts → collision/colliders/closest-line-jump-table.d.ts} +4 -4
- package/build/dist/{Collision/Colliders/Collider.d.ts → collision/colliders/collider.d.ts} +15 -15
- package/build/dist/{Collision/Colliders/CollisionJumpTable.d.ts → collision/colliders/collision-jump-table.d.ts} +5 -5
- package/build/dist/{Collision/Colliders/CompositeCollider.d.ts → collision/colliders/composite-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/EdgeCollider.d.ts → collision/colliders/edge-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/PolygonCollider.d.ts → collision/colliders/polygon-collider.d.ts} +11 -11
- package/build/dist/{Collision/Colliders/SeparatingAxis.d.ts → collision/colliders/separating-axis.d.ts} +6 -6
- package/build/dist/{Collision/Colliders/Shape.d.ts → collision/colliders/shape.d.ts} +5 -5
- package/build/dist/{Collision/CollisionSystem.d.ts → collision/collision-system.d.ts} +9 -9
- package/build/dist/{Collision/Detection/CollisionContact.d.ts → collision/detection/collision-contact.d.ts} +4 -4
- package/build/dist/{Collision/Detection/CollisionProcessor.d.ts → collision/detection/collision-processor.d.ts} +10 -10
- package/build/dist/{Collision/Detection/DynamicTreeCollisionProcessor.d.ts → collision/detection/dynamic-tree-collision-processor.d.ts} +13 -13
- package/build/dist/{Collision/Detection/DynamicTree.d.ts → collision/detection/dynamic-tree.d.ts} +5 -5
- package/build/dist/{Collision/Detection/Pair.d.ts → collision/detection/pair.d.ts} +3 -3
- package/build/dist/{Collision/Detection/QuadTree.d.ts → collision/detection/quad-tree.d.ts} +2 -2
- package/build/dist/{Collision/Detection/RayCastHit.d.ts → collision/detection/ray-cast-hit.d.ts} +3 -3
- package/build/dist/{Collision/Detection/RayCastOptions.d.ts → collision/detection/ray-cast-options.d.ts} +2 -2
- package/build/dist/{Collision/Detection/SparseHashGridCollisionProcessor.d.ts → collision/detection/sparse-hash-grid-collision-processor.d.ts} +16 -16
- package/build/dist/{Collision/Detection/SparseHashGrid.d.ts → collision/detection/sparse-hash-grid.d.ts} +3 -3
- package/build/dist/{Collision/Group/CollisionGroupManager.d.ts → collision/group/collision-group-manager.d.ts} +1 -1
- package/build/dist/collision/index.d.ts +38 -0
- package/build/dist/{Collision/Integrator.d.ts → collision/integrator.d.ts} +3 -3
- package/build/dist/{Collision/Island.d.ts → collision/island.d.ts} +2 -2
- package/build/dist/{Collision/MotionSystem.d.ts → collision/motion-system.d.ts} +5 -5
- package/build/dist/{Collision/PhysicsConfig.d.ts → collision/physics-config.d.ts} +5 -5
- package/build/dist/{Collision/PhysicsWorld.d.ts → collision/physics-world.d.ts} +11 -11
- package/build/dist/{Collision/Side.d.ts → collision/side.d.ts} +1 -1
- package/build/dist/{Collision/Solver/ArcadeSolver.d.ts → collision/solver/arcade-solver.d.ts} +4 -4
- package/build/dist/{Collision/Solver/ContactConstraintPoint.d.ts → collision/solver/contact-constraint-point.d.ts} +2 -2
- package/build/dist/{Collision/Solver/RealisticSolver.d.ts → collision/solver/realistic-solver.d.ts} +5 -5
- package/build/dist/{Collision/Solver/Solver.d.ts → collision/solver/solver.d.ts} +1 -1
- package/build/dist/{Color.d.ts → color.d.ts} +1 -1
- package/build/dist/{Debug/DebugConfig.d.ts → debug/debug-config.d.ts} +5 -5
- package/build/dist/{Debug/DebugFlags.d.ts → debug/debug-flags.d.ts} +2 -2
- package/build/dist/{Debug/DebugSystem.d.ts → debug/debug-system.d.ts} +4 -4
- package/build/dist/debug/index.d.ts +3 -0
- package/build/dist/{Director/CrossFade.d.ts → director/cross-fade.d.ts} +5 -5
- package/build/dist/{Director/DefaultLoader.d.ts → director/default-loader.d.ts} +5 -5
- package/build/dist/{Director/Director.d.ts → director/director.d.ts} +7 -7
- package/build/dist/{Director/FadeInOut.d.ts → director/fade-in-out.d.ts} +5 -5
- package/build/dist/director/index.d.ts +7 -0
- package/build/dist/{Director/Loader.d.ts → director/loader.d.ts} +9 -9
- package/build/dist/{Director/Slide.d.ts → director/slide.d.ts} +5 -5
- package/build/dist/{Director/Transition.d.ts → director/transition.d.ts} +7 -7
- package/build/dist/{Engine.d.ts → engine.d.ts} +31 -31
- package/build/dist/{EntityComponentSystem/Component.d.ts → entity-component-system/component.d.ts} +1 -1
- package/build/dist/{EntityComponentSystem/Components/MotionComponent.d.ts → entity-component-system/components/motion-component.d.ts} +2 -2
- package/build/dist/{EntityComponentSystem/Components/TagsComponent.d.ts → entity-component-system/components/tags-component.d.ts} +1 -1
- package/build/dist/{EntityComponentSystem/Components/TransformComponent.d.ts → entity-component-system/components/transform-component.d.ts} +6 -6
- package/build/dist/{EntityComponentSystem/EntityManager.d.ts → entity-component-system/entity-manager.d.ts} +3 -3
- package/build/dist/{EntityComponentSystem/Entity.d.ts → entity-component-system/entity.d.ts} +12 -12
- package/build/dist/entity-component-system/index.d.ts +13 -0
- package/build/dist/{EntityComponentSystem/QueryManager.d.ts → entity-component-system/query-manager.d.ts} +5 -5
- package/build/dist/{EntityComponentSystem/Query.d.ts → entity-component-system/query.d.ts} +3 -3
- package/build/dist/{EntityComponentSystem/SystemManager.d.ts → entity-component-system/system-manager.d.ts} +4 -4
- package/build/dist/{EntityComponentSystem/System.d.ts → entity-component-system/system.d.ts} +2 -2
- package/build/dist/{EntityComponentSystem/TagQuery.d.ts → entity-component-system/tag-query.d.ts} +2 -2
- package/build/dist/{EntityComponentSystem/World.d.ts → entity-component-system/world.d.ts} +9 -9
- package/build/dist/{Events/MediaEvents.d.ts → events/media-events.d.ts} +4 -4
- package/build/dist/{Events/PointerEvents.d.ts → events/pointer-events.d.ts} +3 -3
- package/build/dist/{Events.d.ts → events.d.ts} +15 -15
- package/build/dist/excalibur.development.js +155 -155
- package/build/dist/excalibur.js +155 -155
- package/build/dist/excalibur.min.development.js +3 -3
- package/build/dist/excalibur.min.js +3 -3
- package/build/dist/{Graphics/Animation.d.ts → graphics/animation.d.ts} +5 -5
- package/build/dist/{Graphics/Canvas.d.ts → graphics/canvas.d.ts} +3 -3
- package/build/dist/{Graphics/Circle.d.ts → graphics/circle.d.ts} +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/circle-renderer/circle-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-circle-renderer/debug-circle-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-line-renderer/debug-line-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-point-renderer/debug-point-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/debug-text.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/draw-call.d.ts +2 -2
- package/build/dist/{Graphics/Context/ExcaliburGraphicsContext2DCanvas.d.ts → graphics/context/excalibur-graphics-context-2d-canvas.d.ts} +6 -6
- package/build/dist/{Graphics/Context/ExcaliburGraphicsContextWebGL.d.ts → graphics/context/excalibur-graphics-context-webgl.d.ts} +8 -8
- package/build/dist/{Graphics/Context/ExcaliburGraphicsContext.d.ts → graphics/context/excalibur-graphics-context.d.ts} +6 -6
- package/build/dist/{Graphics/Context → graphics/context}/image-renderer/image-renderer.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/image-renderer-v2/image-renderer-v2.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/material-renderer/material-renderer.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/material.d.ts +4 -4
- package/build/dist/{Graphics/Context → graphics/context}/particle-renderer/particle-renderer.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/rectangle-renderer/rectangle-renderer.d.ts +3 -3
- package/build/dist/{Graphics/Context → graphics/context}/renderer.d.ts +1 -1
- package/build/dist/{Graphics/Context → graphics/context}/screen-pass-painter/screen-pass-painter.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/shader.d.ts +1 -1
- package/build/dist/{Graphics/Context → graphics/context}/state-stack.d.ts +2 -2
- package/build/dist/{Graphics/Context → graphics/context}/texture-loader.d.ts +4 -4
- package/build/dist/{Graphics/Context → graphics/context}/transform-stack.d.ts +1 -1
- package/build/dist/{Graphics/DebugGraphicsComponent.d.ts → graphics/debug-graphics-component.d.ts} +3 -3
- package/build/dist/{Graphics/Debug.d.ts → graphics/debug.d.ts} +6 -6
- package/build/dist/{Graphics/FontCache.d.ts → graphics/font-cache.d.ts} +4 -4
- package/build/dist/{Graphics/FontCommon.d.ts → graphics/font-common.d.ts} +4 -4
- package/build/dist/{Graphics/FontTextInstance.d.ts → graphics/font-text-instance.d.ts} +4 -4
- package/build/dist/{Graphics/Font.d.ts → graphics/font.d.ts} +10 -10
- package/build/dist/{Graphics/Graphic.d.ts → graphics/graphic.d.ts} +5 -5
- package/build/dist/{Graphics/GraphicsComponent.d.ts → graphics/graphics-component.d.ts} +8 -8
- package/build/dist/{Graphics/GraphicsGroup.d.ts → graphics/graphics-group.d.ts} +6 -6
- package/build/dist/{Graphics/GraphicsSystem.d.ts → graphics/graphics-system.d.ts} +5 -5
- package/build/dist/{Graphics/ImageSource.d.ts → graphics/image-source.d.ts} +6 -6
- package/build/dist/graphics/index.d.ts +47 -0
- package/build/dist/{Graphics/Line.d.ts → graphics/line.d.ts} +5 -5
- package/build/dist/{Graphics/NineSlice.d.ts → graphics/nine-slice.d.ts} +5 -5
- package/build/dist/{Graphics/OffscreenSystem.d.ts → graphics/offscreen-system.d.ts} +5 -5
- package/build/dist/{Graphics/ParallaxComponent.d.ts → graphics/parallax-component.d.ts} +2 -2
- package/build/dist/{Graphics/Polygon.d.ts → graphics/polygon.d.ts} +3 -3
- package/build/dist/{Graphics/PostProcessor/ColorBlindnessPostProcessor.d.ts → graphics/post-processor/color-blindness-post-processor.d.ts} +5 -5
- package/build/dist/{Graphics/PostProcessor/PostProcessor.d.ts → graphics/post-processor/post-processor.d.ts} +3 -3
- package/build/dist/{Graphics/PostProcessor/ScreenShader.d.ts → graphics/post-processor/screen-shader.d.ts} +3 -3
- package/build/dist/{Graphics/Raster.d.ts → graphics/raster.d.ts} +6 -6
- package/build/dist/{Graphics/Rectangle.d.ts → graphics/rectangle.d.ts} +2 -2
- package/build/dist/{Graphics/SpriteFont.d.ts → graphics/sprite-font.d.ts} +8 -8
- package/build/dist/{Graphics/SpriteSheet.d.ts → graphics/sprite-sheet.d.ts} +7 -7
- package/build/dist/{Graphics/Sprite.d.ts → graphics/sprite.d.ts} +4 -4
- package/build/dist/{Graphics/Text.d.ts → graphics/text.d.ts} +7 -7
- package/build/dist/{Graphics/TiledAnimation.d.ts → graphics/tiled-animation.d.ts} +7 -7
- package/build/dist/{Graphics/TiledSprite.d.ts → graphics/tiled-sprite.d.ts} +7 -7
- package/build/dist/{Graphics/TransformInterpolation.d.ts → graphics/transform-interpolation.d.ts} +1 -1
- package/build/dist/index.d.ts +66 -66
- package/build/dist/{Input/Gamepad.d.ts → input/gamepad.d.ts} +3 -3
- package/build/dist/{Input/InputHost.d.ts → input/input-host.d.ts} +5 -5
- package/build/dist/{Input/InputMapper.d.ts → input/input-mapper.d.ts} +3 -3
- package/build/dist/{Input/Keyboard.d.ts → input/keyboard.d.ts} +3 -3
- package/build/dist/{Input/PointerAbstraction.d.ts → input/pointer-abstraction.d.ts} +5 -5
- package/build/dist/{Input/PointerComponent.d.ts → input/pointer-component.d.ts} +2 -2
- package/build/dist/{Input/PointerEventReceiver.d.ts → input/pointer-event-receiver.d.ts} +8 -8
- package/build/dist/{Input/PointerEvent.d.ts → input/pointer-event.d.ts} +4 -4
- package/build/dist/{Input/PointerEventsToObjectDispatcher.d.ts → input/pointer-events-to-object-dispatcher.d.ts} +3 -3
- package/build/dist/{Input/PointerSystem.d.ts → input/pointer-system.d.ts} +4 -4
- package/build/dist/{Input/WheelEvent.d.ts → input/wheel-event.d.ts} +1 -1
- package/build/dist/{Interfaces/AudioImplementation.d.ts → interfaces/audio-implementation.d.ts} +1 -1
- package/build/dist/{Interfaces/Evented.d.ts → interfaces/evented.d.ts} +1 -1
- package/build/dist/interfaces/index.d.ts +7 -0
- package/build/dist/{Interfaces/LifecycleEvents.d.ts → interfaces/lifecycle-events.d.ts} +4 -4
- package/build/dist/{Interfaces/PointerEventHandlers.d.ts → interfaces/pointer-event-handlers.d.ts} +3 -3
- package/build/dist/{Label.d.ts → label.d.ts} +7 -7
- package/build/dist/{Math → math}/global-coordinates.d.ts +1 -1
- package/build/dist/{Math → math}/index.d.ts +1 -1
- package/build/dist/{Math → math}/util.d.ts +1 -1
- package/build/dist/{Math → math}/vector.d.ts +1 -1
- package/build/dist/{Particles/GpuParticleEmitter.d.ts → particles/gpu-particle-emitter.d.ts} +10 -10
- package/build/dist/{Particles/GpuParticleRenderer.d.ts → particles/gpu-particle-renderer.d.ts} +5 -5
- package/build/dist/particles/index.d.ts +5 -0
- package/build/dist/{Particles/ParticleEmitter.d.ts → particles/particle-emitter.d.ts} +6 -6
- package/build/dist/{Particles/Particles.d.ts → particles/particles.d.ts} +11 -11
- package/build/dist/{Resources/Font.d.ts → resources/font.d.ts} +4 -4
- package/build/dist/{Resources/Gif.d.ts → resources/gif.d.ts} +5 -5
- package/build/dist/resources/index.d.ts +4 -0
- package/build/dist/{Resources/Resource.d.ts → resources/resource.d.ts} +3 -3
- package/build/dist/resources/sound/index.d.ts +4 -0
- package/build/dist/{Resources/Sound/SoundManager.d.ts → resources/sound/sound-manager.d.ts} +1 -1
- package/build/dist/{Resources/Sound/Sound.d.ts → resources/sound/sound.d.ts} +8 -8
- package/build/dist/{Resources/Sound/WebAudioInstance.d.ts → resources/sound/web-audio-instance.d.ts} +1 -1
- package/build/dist/{Scene.d.ts → scene.d.ts} +20 -20
- package/build/dist/{ScreenElement.d.ts → screen-element.d.ts} +3 -3
- package/build/dist/{Screen.d.ts → screen.d.ts} +6 -6
- package/build/dist/tile-map/index.d.ts +4 -0
- package/build/dist/{TileMap/IsometricEntityComponent.d.ts → tile-map/isometric-entity-component.d.ts} +2 -2
- package/build/dist/tile-map/isometric-entity-system.d.ts +12 -0
- package/build/dist/{TileMap/IsometricMap.d.ts → tile-map/isometric-map.d.ts} +13 -13
- package/build/dist/{TileMap/TileMap.d.ts → tile-map/tile-map.d.ts} +18 -18
- package/build/dist/{Timer.d.ts → timer.d.ts} +1 -1
- package/build/dist/{Trigger.d.ts → trigger.d.ts} +6 -6
- package/build/dist/{Util/Clock.d.ts → util/clock.d.ts} +1 -1
- package/build/dist/{Util/Coroutine.d.ts → util/coroutine.d.ts} +2 -2
- package/build/dist/{Util/DrawUtil.d.ts → util/draw-util.d.ts} +2 -2
- package/build/dist/{Util/EasingFunctions.d.ts → util/easing-functions.d.ts} +1 -1
- package/build/dist/util/index.d.ts +6 -0
- package/build/dist/{Util/Log.d.ts → util/log.d.ts} +2 -2
- package/build/dist/{Util/Util.d.ts → util/util.d.ts} +2 -2
- package/build/esm/excalibur.development.js +155 -155
- package/build/esm/excalibur.js +155 -155
- package/build/esm/excalibur.min.development.js +3 -3
- package/build/esm/excalibur.min.js +3 -3
- package/eslint.config.mjs +2 -1
- package/package.json +1 -1
- package/build/dist/Actions/index.d.ts +0 -27
- package/build/dist/Collision/Index.d.ts +0 -38
- package/build/dist/Debug/index.d.ts +0 -3
- package/build/dist/Director/index.d.ts +0 -7
- package/build/dist/EntityComponentSystem/index.d.ts +0 -13
- package/build/dist/Graphics/index.d.ts +0 -47
- package/build/dist/Interfaces/Index.d.ts +0 -7
- package/build/dist/Particles/index.d.ts +0 -5
- package/build/dist/Resources/Index.d.ts +0 -4
- package/build/dist/Resources/Sound/Index.d.ts +0 -4
- package/build/dist/TileMap/IsometricEntitySystem.d.ts +0 -12
- package/build/dist/TileMap/index.d.ts +0 -4
- package/build/dist/Util/Index.d.ts +0 -6
- /package/build/dist/{Collision/CollisionType.d.ts → collision/collision-type.d.ts} +0 -0
- /package/build/dist/{Collision/Detection/SpatialPartitionStrategy.d.ts → collision/detection/spatial-partition-strategy.d.ts} +0 -0
- /package/build/dist/{Collision/Group/CollisionGroup.d.ts → collision/group/collision-group.d.ts} +0 -0
- /package/build/dist/{Collision/Solver/ContactBias.d.ts → collision/solver/contact-bias.d.ts} +0 -0
- /package/build/dist/{Collision/SolverStrategy.d.ts → collision/solver-strategy.d.ts} +0 -0
- /package/build/dist/{Context.d.ts → context.d.ts} +0 -0
- /package/build/dist/{Deprecated.d.ts → deprecated.d.ts} +0 -0
- /package/build/dist/{EntityComponentSystem/Priority.d.ts → entity-component-system/priority.d.ts} +0 -0
- /package/build/dist/{EntityComponentSystem/Types.d.ts → entity-component-system/types.d.ts} +0 -0
- /package/build/dist/{EventEmitter.d.ts → event-emitter.d.ts} +0 -0
- /package/build/dist/{Events/ExEvent.d.ts → events/ex-event.d.ts} +0 -0
- /package/build/dist/{Flags.d.ts → flags.d.ts} +0 -0
- /package/build/dist/{GarbageCollector.d.ts → garbage-collector.d.ts} +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/quad-index-buffer.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/render-source.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/render-target.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/uniform-buffer.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/vertex-buffer.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/vertex-layout.d.ts +0 -0
- /package/build/dist/{Graphics/Context → graphics/context}/webgl-util.d.ts +0 -0
- /package/build/dist/{Graphics/Filtering.d.ts → graphics/filtering.d.ts} +0 -0
- /package/build/dist/{Graphics/GraphicsDiagnostics.d.ts → graphics/graphics-diagnostics.d.ts} +0 -0
- /package/build/dist/{Graphics/PostProcessor/ColorBlindnessMode.d.ts → graphics/post-processor/color-blindness-mode.d.ts} +0 -0
- /package/build/dist/{Graphics/Wrapping.d.ts → graphics/wrapping.d.ts} +0 -0
- /package/build/dist/{Id.d.ts → id.d.ts} +0 -0
- /package/build/dist/{Input/CapturePointerConfig.d.ts → input/capture-pointer-config.d.ts} +0 -0
- /package/build/dist/{Input/NativePointerButton.d.ts → input/native-pointer-button.d.ts} +0 -0
- /package/build/dist/{Input/PointerButton.d.ts → input/pointer-button.d.ts} +0 -0
- /package/build/dist/{Input/PointerScope.d.ts → input/pointer-scope.d.ts} +0 -0
- /package/build/dist/{Input/PointerType.d.ts → input/pointer-type.d.ts} +0 -0
- /package/build/dist/{Input/WheelDeltaMode.d.ts → input/wheel-delta-mode.d.ts} +0 -0
- /package/build/dist/{Interfaces/Audio.d.ts → interfaces/audio.d.ts} +0 -0
- /package/build/dist/{Interfaces/Clonable.d.ts → interfaces/clonable.d.ts} +0 -0
- /package/build/dist/{Interfaces/Loadable.d.ts → interfaces/loadable.d.ts} +0 -0
- /package/build/dist/{Math → math}/affine-matrix.d.ts +0 -0
- /package/build/dist/{Math → math}/bezier-curve.d.ts +0 -0
- /package/build/dist/{Math → math}/coord-plane.d.ts +0 -0
- /package/build/dist/{Math → math}/easings.d.ts +0 -0
- /package/build/dist/{Math → math}/graph.d.ts +0 -0
- /package/build/dist/{Math → math}/lerp.d.ts +0 -0
- /package/build/dist/{Math → math}/line-segment.d.ts +0 -0
- /package/build/dist/{Math → math}/matrix.d.ts +0 -0
- /package/build/dist/{Math → math}/projection.d.ts +0 -0
- /package/build/dist/{Math/Random.d.ts → math/random.d.ts} +0 -0
- /package/build/dist/{Math → math}/ray.d.ts +0 -0
- /package/build/dist/{Math → math}/rotation-type.d.ts +0 -0
- /package/build/dist/{Math → math}/transform.d.ts +0 -0
- /package/build/dist/{Math → math}/vector-view.d.ts +0 -0
- /package/build/dist/{Math → math}/watch-vector.d.ts +0 -0
- /package/build/dist/{Particles/EmitterType.d.ts → particles/emitter-type.d.ts} +0 -0
- /package/build/dist/{Polyfill.d.ts → polyfill.d.ts} +0 -0
- /package/build/dist/{Resources/Sound/AudioContext.d.ts → resources/sound/audio-context.d.ts} +0 -0
- /package/build/dist/{Util/Assert.d.ts → util/assert.d.ts} +0 -0
- /package/build/dist/{Util/Browser.d.ts → util/browser.d.ts} +0 -0
- /package/build/dist/{Util/Decorators.d.ts → util/decorators.d.ts} +0 -0
- /package/build/dist/{Util/Detector.d.ts → util/detector.d.ts} +0 -0
- /package/build/dist/{Util/Fps.d.ts → util/fps.d.ts} +0 -0
- /package/build/dist/{Util/Future.d.ts → util/future.d.ts} +0 -0
- /package/build/dist/{Util/IFrame.d.ts → util/iframe.d.ts} +0 -0
- /package/build/dist/{Util/Observable.d.ts → util/observable.d.ts} +0 -0
- /package/build/dist/{Util/Pool.d.ts → util/pool.d.ts} +0 -0
- /package/build/dist/{Util/RentalPool.d.ts → util/rental-pool.d.ts} +0 -0
- /package/build/dist/{Util/Required.d.ts → util/required.d.ts} +0 -0
- /package/build/dist/{Util/Semaphore.d.ts → util/semaphore.d.ts} +0 -0
- /package/build/dist/{Util/Sound.d.ts → util/sound.d.ts} +0 -0
- /package/build/dist/{Util/StateMachine.d.ts → util/state-machine.d.ts} +0 -0
- /package/build/dist/{Util/Toaster.d.ts → util/toaster.d.ts} +0 -0
- /package/build/dist/{Util/Watch.d.ts → util/watch.d.ts} +0 -0
- /package/build/dist/{Util/WebAudio.d.ts → util/web-audio.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { VertexLayout } from '../
|
|
2
|
-
import type { Shader } from '../
|
|
3
|
-
import type { ExcaliburGraphicsContextWebGL } from '../
|
|
1
|
+
import type { VertexLayout } from '../context/vertex-layout';
|
|
2
|
+
import type { Shader } from '../context/shader';
|
|
3
|
+
import type { ExcaliburGraphicsContextWebGL } from '../context/excalibur-graphics-context-webgl';
|
|
4
4
|
/**
|
|
5
5
|
* PostProcessors can be used to apply a shader to the entire screen. It is recommended
|
|
6
6
|
* you use the {@apilink ScreenShader} to build your post processor shader.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExcaliburGraphicsContextWebGL } from '../
|
|
2
|
-
import { Shader } from '../
|
|
3
|
-
import { VertexLayout } from '../
|
|
1
|
+
import type { ExcaliburGraphicsContextWebGL } from '../context/excalibur-graphics-context-webgl';
|
|
2
|
+
import { Shader } from '../context/shader';
|
|
3
|
+
import { VertexLayout } from '../context/vertex-layout';
|
|
4
4
|
/**
|
|
5
5
|
* Helper that defines a whole screen renderer, just provide a fragment source!
|
|
6
6
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { GraphicOptions } from './
|
|
2
|
-
import { Graphic } from './
|
|
3
|
-
import type { ExcaliburGraphicsContext } from './
|
|
4
|
-
import { Color } from '../
|
|
5
|
-
import { BoundingBox } from '../
|
|
6
|
-
import type { ImageFiltering } from './
|
|
1
|
+
import type { GraphicOptions } from './graphic';
|
|
2
|
+
import { Graphic } from './graphic';
|
|
3
|
+
import type { ExcaliburGraphicsContext } from './context/excalibur-graphics-context';
|
|
4
|
+
import { Color } from '../color';
|
|
5
|
+
import { BoundingBox } from '../collision/bounding-box';
|
|
6
|
+
import type { ImageFiltering } from './filtering';
|
|
7
7
|
export interface RasterOptions extends GraphicOptions {
|
|
8
8
|
/**
|
|
9
9
|
* Optionally specify a quality number, which is how much to scale the internal Raster. Default is 1.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Vector } from '../
|
|
2
|
-
import type { ExcaliburGraphicsContext } from './
|
|
3
|
-
import type { FontRenderer } from './
|
|
4
|
-
import type { GraphicOptions } from './
|
|
5
|
-
import { Graphic } from './
|
|
6
|
-
import type { Sprite } from './
|
|
7
|
-
import type { SpriteSheet } from './
|
|
8
|
-
import { BoundingBox } from '../
|
|
1
|
+
import { Vector } from '../math/vector';
|
|
2
|
+
import type { ExcaliburGraphicsContext } from './context/excalibur-graphics-context';
|
|
3
|
+
import type { FontRenderer } from './font-common';
|
|
4
|
+
import type { GraphicOptions } from './graphic';
|
|
5
|
+
import { Graphic } from './graphic';
|
|
6
|
+
import type { Sprite } from './sprite';
|
|
7
|
+
import type { SpriteSheet } from './sprite-sheet';
|
|
8
|
+
import { BoundingBox } from '../collision/bounding-box';
|
|
9
9
|
export interface SpriteFontOptions {
|
|
10
10
|
/**
|
|
11
11
|
* Alphabet string in spritesheet order (default is row column order)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ImageSource } from './
|
|
2
|
-
import type { SourceView } from './
|
|
3
|
-
import { Sprite } from './
|
|
4
|
-
import type { GraphicOptions } from './
|
|
5
|
-
import type { TiledSpriteOptions } from './
|
|
6
|
-
import { TiledSprite } from './
|
|
7
|
-
import { Vector } from '../
|
|
1
|
+
import { ImageSource } from './image-source';
|
|
2
|
+
import type { SourceView } from './sprite';
|
|
3
|
+
import { Sprite } from './sprite';
|
|
4
|
+
import type { GraphicOptions } from './graphic';
|
|
5
|
+
import type { TiledSpriteOptions } from './tiled-sprite';
|
|
6
|
+
import { TiledSprite } from './tiled-sprite';
|
|
7
|
+
import { Vector } from '../math/vector';
|
|
8
8
|
/**
|
|
9
9
|
* Specify sprite sheet spacing options, useful if your sprites are not tightly packed
|
|
10
10
|
* and have space between them.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { GraphicOptions } from './
|
|
2
|
-
import { Graphic } from './
|
|
3
|
-
import type { ImageSource } from './
|
|
4
|
-
import type { ExcaliburGraphicsContext } from './
|
|
1
|
+
import type { GraphicOptions } from './graphic';
|
|
2
|
+
import { Graphic } from './graphic';
|
|
3
|
+
import type { ImageSource } from './image-source';
|
|
4
|
+
import type { ExcaliburGraphicsContext } from './context/excalibur-graphics-context';
|
|
5
5
|
export type SourceView = {
|
|
6
6
|
x: number;
|
|
7
7
|
y: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ExcaliburGraphicsContext } from './
|
|
2
|
-
import type { BoundingBox } from '../
|
|
3
|
-
import type { SpriteFont } from './
|
|
4
|
-
import type { GraphicOptions } from './
|
|
5
|
-
import { Graphic } from './
|
|
6
|
-
import { Color } from '../
|
|
7
|
-
import { Font } from './
|
|
1
|
+
import type { ExcaliburGraphicsContext } from './context/excalibur-graphics-context';
|
|
2
|
+
import type { BoundingBox } from '../collision/bounding-box';
|
|
3
|
+
import type { SpriteFont } from './sprite-font';
|
|
4
|
+
import type { GraphicOptions } from './graphic';
|
|
5
|
+
import { Graphic } from './graphic';
|
|
6
|
+
import { Color } from '../color';
|
|
7
|
+
import { Font } from './font';
|
|
8
8
|
export interface TextOptions {
|
|
9
9
|
/**
|
|
10
10
|
* Text to draw
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ImageFiltering } from './
|
|
2
|
-
import type { ImageWrapConfiguration } from './
|
|
3
|
-
import type { SourceView } from './
|
|
4
|
-
import type { ImageWrapping } from './
|
|
5
|
-
import type { AnimationOptions } from './
|
|
6
|
-
import { Animation } from './
|
|
7
|
-
import type { GraphicOptions } from './
|
|
1
|
+
import type { ImageFiltering } from './filtering';
|
|
2
|
+
import type { ImageWrapConfiguration } from './image-source';
|
|
3
|
+
import type { SourceView } from './sprite';
|
|
4
|
+
import type { ImageWrapping } from './wrapping';
|
|
5
|
+
import type { AnimationOptions } from './animation';
|
|
6
|
+
import { Animation } from './animation';
|
|
7
|
+
import type { GraphicOptions } from './graphic';
|
|
8
8
|
export interface TiledAnimationOptions {
|
|
9
9
|
/**
|
|
10
10
|
* Animation to tile
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ImageFiltering } from './
|
|
2
|
-
import type { GraphicOptions } from './
|
|
3
|
-
import type { ImageWrapConfiguration } from './
|
|
4
|
-
import { ImageSource } from './
|
|
5
|
-
import type { SourceView } from './
|
|
6
|
-
import { Sprite } from './
|
|
7
|
-
import { ImageWrapping } from './
|
|
1
|
+
import type { ImageFiltering } from './filtering';
|
|
2
|
+
import type { GraphicOptions } from './graphic';
|
|
3
|
+
import type { ImageWrapConfiguration } from './image-source';
|
|
4
|
+
import { ImageSource } from './image-source';
|
|
5
|
+
import type { SourceView } from './sprite';
|
|
6
|
+
import { Sprite } from './sprite';
|
|
7
|
+
import { ImageWrapping } from './wrapping';
|
|
8
8
|
export interface TiledSpriteOptions {
|
|
9
9
|
image: ImageSource;
|
|
10
10
|
/**
|
package/build/dist/index.d.ts
CHANGED
|
@@ -3,71 +3,71 @@
|
|
|
3
3
|
* @description `process.env.__EX_VERSION` gets replaced by Webpack on build
|
|
4
4
|
*/
|
|
5
5
|
export declare const EX_VERSION: string;
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
-
export { FontStyle, FontUnit, TextAlign, BaseAlign } from './
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
34
|
-
import * as events from './
|
|
6
|
+
export * from './flags';
|
|
7
|
+
export * from './id';
|
|
8
|
+
export * from './engine';
|
|
9
|
+
export * from './garbage-collector';
|
|
10
|
+
export * from './screen';
|
|
11
|
+
export * from './actor';
|
|
12
|
+
export * from './math/index';
|
|
13
|
+
export * from './camera';
|
|
14
|
+
export * from './debug/index';
|
|
15
|
+
export * from './event-emitter';
|
|
16
|
+
export * from './events/media-events';
|
|
17
|
+
export * from './events';
|
|
18
|
+
export * from './label';
|
|
19
|
+
export { FontStyle, FontUnit, TextAlign, BaseAlign } from './graphics/font-common';
|
|
20
|
+
export * from './particles/index';
|
|
21
|
+
export * from './scene';
|
|
22
|
+
export * from './tile-map/index';
|
|
23
|
+
export * from './timer';
|
|
24
|
+
export * from './trigger';
|
|
25
|
+
export * from './screen-element';
|
|
26
|
+
export * from './actions/index';
|
|
27
|
+
export * from './collision/index';
|
|
28
|
+
export * from './interfaces/index';
|
|
29
|
+
export * from './resources/index';
|
|
30
|
+
export * from './entity-component-system/index';
|
|
31
|
+
export * from './director/index';
|
|
32
|
+
export * from './color';
|
|
33
|
+
export * from './graphics/index';
|
|
34
|
+
import * as events from './events';
|
|
35
35
|
export { events as Events };
|
|
36
|
-
export { WheelEvent } from './
|
|
37
|
-
export { PointerEvent } from './
|
|
38
|
-
export { WheelDeltaMode } from './
|
|
39
|
-
export { PointerButton } from './
|
|
40
|
-
export { NativePointerButton } from './
|
|
41
|
-
export type { CapturePointerConfig } from './
|
|
42
|
-
export type { NativePointerEvent, NativeMouseEvent, NativeTouchEvent, NativeWheelEvent, PointerInitOptions } from './
|
|
43
|
-
export { PointerEventReceiver } from './
|
|
44
|
-
export { PointerAbstraction } from './
|
|
45
|
-
export { PointerComponent } from './
|
|
46
|
-
export { PointerSystem } from './
|
|
47
|
-
export { PointerType } from './
|
|
48
|
-
export { PointerScope } from './
|
|
49
|
-
export type { NavigatorGamepads, NavigatorGamepad, NavigatorGamepadButton, NavigatorGamepadEvent, GamepadConfiguration } from './
|
|
50
|
-
export { Gamepads, Gamepad, Buttons, Axes } from './
|
|
51
|
-
export type { KeyboardInitOptions } from './
|
|
52
|
-
export { Keys, KeyEvent, Keyboard } from './
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './
|
|
55
|
-
import * as util from './
|
|
36
|
+
export { WheelEvent } from './input/wheel-event';
|
|
37
|
+
export { PointerEvent } from './input/pointer-event';
|
|
38
|
+
export { WheelDeltaMode } from './input/wheel-delta-mode';
|
|
39
|
+
export { PointerButton } from './input/pointer-button';
|
|
40
|
+
export { NativePointerButton } from './input/native-pointer-button';
|
|
41
|
+
export type { CapturePointerConfig } from './input/capture-pointer-config';
|
|
42
|
+
export type { NativePointerEvent, NativeMouseEvent, NativeTouchEvent, NativeWheelEvent, PointerInitOptions } from './input/pointer-event-receiver';
|
|
43
|
+
export { PointerEventReceiver } from './input/pointer-event-receiver';
|
|
44
|
+
export { PointerAbstraction } from './input/pointer-abstraction';
|
|
45
|
+
export { PointerComponent } from './input/pointer-component';
|
|
46
|
+
export { PointerSystem } from './input/pointer-system';
|
|
47
|
+
export { PointerType } from './input/pointer-type';
|
|
48
|
+
export { PointerScope } from './input/pointer-scope';
|
|
49
|
+
export type { NavigatorGamepads, NavigatorGamepad, NavigatorGamepadButton, NavigatorGamepadEvent, GamepadConfiguration } from './input/gamepad';
|
|
50
|
+
export { Gamepads, Gamepad, Buttons, Axes } from './input/gamepad';
|
|
51
|
+
export type { KeyboardInitOptions } from './input/keyboard';
|
|
52
|
+
export { Keys, KeyEvent, Keyboard } from './input/keyboard';
|
|
53
|
+
export * from './input/input-host';
|
|
54
|
+
export * from './input/input-mapper';
|
|
55
|
+
import * as util from './util/index';
|
|
56
56
|
export { util as Util };
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './
|
|
60
|
-
export * from './
|
|
61
|
-
export * from './
|
|
62
|
-
export * from './
|
|
63
|
-
export * from './
|
|
64
|
-
export * from './
|
|
65
|
-
export * from './
|
|
66
|
-
export * from './
|
|
67
|
-
export * from './
|
|
68
|
-
export * from './
|
|
69
|
-
export * from './
|
|
70
|
-
export * from './
|
|
71
|
-
export * from './
|
|
72
|
-
export * from './
|
|
73
|
-
export * from './
|
|
57
|
+
export * from './util/browser';
|
|
58
|
+
export * from './util/decorators';
|
|
59
|
+
export * from './util/detector';
|
|
60
|
+
export * from './util/easing-functions';
|
|
61
|
+
export * from './util/observable';
|
|
62
|
+
export * from './util/log';
|
|
63
|
+
export * from './util/pool';
|
|
64
|
+
export * from './util/fps';
|
|
65
|
+
export * from './util/clock';
|
|
66
|
+
export * from './util/web-audio';
|
|
67
|
+
export * from './util/toaster';
|
|
68
|
+
export * from './util/state-machine';
|
|
69
|
+
export * from './util/future';
|
|
70
|
+
export * from './util/semaphore';
|
|
71
|
+
export * from './util/coroutine';
|
|
72
|
+
export * from './util/assert';
|
|
73
|
+
export * from './util/rental-pool';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GamepadConnectEvent, GamepadDisconnectEvent, GamepadButtonEvent, GamepadAxisEvent } from '../
|
|
2
|
-
import type { EventKey, Handler, Subscription } from '../
|
|
3
|
-
import { EventEmitter } from '../
|
|
1
|
+
import { GamepadConnectEvent, GamepadDisconnectEvent, GamepadButtonEvent, GamepadAxisEvent } from '../events';
|
|
2
|
+
import type { EventKey, Handler, Subscription } from '../event-emitter';
|
|
3
|
+
import { EventEmitter } from '../event-emitter';
|
|
4
4
|
export interface GamepadEvents {
|
|
5
5
|
connect: GamepadConnectEvent;
|
|
6
6
|
disconnect: GamepadDisconnectEvent;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Engine } from '../
|
|
2
|
-
import { Gamepads } from './
|
|
3
|
-
import { InputMapper } from './
|
|
4
|
-
import { Keyboard } from './
|
|
5
|
-
import { PointerEventReceiver } from './
|
|
1
|
+
import type { Engine } from '../engine';
|
|
2
|
+
import { Gamepads } from './gamepad';
|
|
3
|
+
import { InputMapper } from './input-mapper';
|
|
4
|
+
import { Keyboard } from './keyboard';
|
|
5
|
+
import { PointerEventReceiver } from './pointer-event-receiver';
|
|
6
6
|
export interface InputHostOptions {
|
|
7
7
|
pointerTarget: Document | HTMLCanvasElement;
|
|
8
8
|
grabWindowFocus: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Gamepads } from './
|
|
2
|
-
import type { Keyboard } from './
|
|
3
|
-
import type { PointerEventReceiver } from './
|
|
1
|
+
import type { Gamepads } from './gamepad';
|
|
2
|
+
import type { Keyboard } from './keyboard';
|
|
3
|
+
import type { PointerEventReceiver } from './pointer-event-receiver';
|
|
4
4
|
export interface InputsOptions {
|
|
5
5
|
keyboard: Keyboard;
|
|
6
6
|
gamepads: Gamepads;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as Events from '../
|
|
2
|
-
import type { EventKey, Handler, Subscription } from '../
|
|
3
|
-
import { EventEmitter } from '../
|
|
1
|
+
import * as Events from '../events';
|
|
2
|
+
import type { EventKey, Handler, Subscription } from '../event-emitter';
|
|
3
|
+
import { EventEmitter } from '../event-emitter';
|
|
4
4
|
/**
|
|
5
5
|
* Enum representing physical input key codes
|
|
6
6
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Vector } from '../
|
|
2
|
-
import type { EventKey, Handler, Subscription } from '../
|
|
3
|
-
import { EventEmitter } from '../
|
|
4
|
-
import type { PointerEvents } from './
|
|
5
|
-
import type { Engine } from '../
|
|
1
|
+
import { Vector } from '../math/vector';
|
|
2
|
+
import type { EventKey, Handler, Subscription } from '../event-emitter';
|
|
3
|
+
import { EventEmitter } from '../event-emitter';
|
|
4
|
+
import type { PointerEvents } from './pointer-event-receiver';
|
|
5
|
+
import type { Engine } from '../engine';
|
|
6
6
|
export declare class PointerAbstraction {
|
|
7
7
|
events: EventEmitter<PointerEvents>;
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component } from '../
|
|
2
|
-
import type { BoundingBox } from '../
|
|
1
|
+
import { Component } from '../entity-component-system/component';
|
|
2
|
+
import type { BoundingBox } from '../collision/bounding-box';
|
|
3
3
|
export interface PointerComponentOptions {
|
|
4
4
|
useColliderShape?: boolean;
|
|
5
5
|
useGraphicsBounds?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Engine } from '../
|
|
2
|
-
import { GlobalCoordinates } from '../
|
|
3
|
-
import type { Vector } from '../
|
|
4
|
-
import { PointerEvent } from './
|
|
5
|
-
import { WheelEvent } from './
|
|
6
|
-
import { PointerAbstraction } from './
|
|
7
|
-
import type { EventKey, Handler, Subscription } from '../
|
|
8
|
-
import { EventEmitter } from '../
|
|
1
|
+
import type { Engine } from '../engine';
|
|
2
|
+
import { GlobalCoordinates } from '../math/global-coordinates';
|
|
3
|
+
import type { Vector } from '../math/vector';
|
|
4
|
+
import { PointerEvent } from './pointer-event';
|
|
5
|
+
import { WheelEvent } from './wheel-event';
|
|
6
|
+
import { PointerAbstraction } from './pointer-abstraction';
|
|
7
|
+
import type { EventKey, Handler, Subscription } from '../event-emitter';
|
|
8
|
+
import { EventEmitter } from '../event-emitter';
|
|
9
9
|
export type NativePointerEvent = globalThis.PointerEvent;
|
|
10
10
|
export type NativeMouseEvent = globalThis.MouseEvent;
|
|
11
11
|
export type NativeTouchEvent = globalThis.TouchEvent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { GlobalCoordinates } from '../
|
|
2
|
-
import type { Vector } from '../
|
|
3
|
-
import type { PointerButton } from './
|
|
4
|
-
import type { PointerType } from './
|
|
1
|
+
import type { GlobalCoordinates } from '../math/global-coordinates';
|
|
2
|
+
import type { Vector } from '../math/vector';
|
|
3
|
+
import type { PointerButton } from './pointer-button';
|
|
4
|
+
import type { PointerType } from './pointer-type';
|
|
5
5
|
export declare class PointerEvent {
|
|
6
6
|
type: 'down' | 'up' | 'move' | 'cancel';
|
|
7
7
|
pointerId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventEmitter } from '../
|
|
2
|
-
import type { GlobalCoordinates } from '../
|
|
3
|
-
import type { PointerEventReceiver } from './
|
|
1
|
+
import type { EventEmitter } from '../event-emitter';
|
|
2
|
+
import type { GlobalCoordinates } from '../math';
|
|
3
|
+
import type { PointerEventReceiver } from './pointer-event-receiver';
|
|
4
4
|
/**
|
|
5
5
|
* Signals that an object has nested pointer events on nested objects that are not an Entity with
|
|
6
6
|
* a PointerComponent. For example TileMap Tiles
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { World, Query } from '../
|
|
2
|
-
import { System, TransformComponent, SystemType } from '../
|
|
3
|
-
import type { Scene } from '../
|
|
4
|
-
import { PointerComponent } from './
|
|
1
|
+
import type { World, Query } from '../entity-component-system';
|
|
2
|
+
import { System, TransformComponent, SystemType } from '../entity-component-system';
|
|
3
|
+
import type { Scene } from '../scene';
|
|
4
|
+
import { PointerComponent } from './pointer-component';
|
|
5
5
|
/**
|
|
6
6
|
* The PointerSystem is responsible for dispatching pointer events to entities
|
|
7
7
|
* that need them.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Engine } from '
|
|
2
|
-
import type * as Events from '
|
|
3
|
-
import type { Scene } from '../
|
|
4
|
-
import type { ExcaliburGraphicsContext } from '../
|
|
1
|
+
import type { Engine } from '../engine';
|
|
2
|
+
import type * as Events from '../events';
|
|
3
|
+
import type { Scene } from '../scene';
|
|
4
|
+
import type { ExcaliburGraphicsContext } from '../graphics';
|
|
5
5
|
export interface _initialize {
|
|
6
6
|
_initialize(engine: Engine): void;
|
|
7
7
|
}
|
package/build/dist/{Interfaces/PointerEventHandlers.d.ts → interfaces/pointer-event-handlers.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as Events from '../
|
|
2
|
-
import type { PointerEvent } from '../
|
|
3
|
-
import type { WheelEvent } from '../
|
|
1
|
+
import type * as Events from '../events';
|
|
2
|
+
import type { PointerEvent } from '../input/pointer-event';
|
|
3
|
+
import type { WheelEvent } from '../input/wheel-event';
|
|
4
4
|
export interface PointerEvents {
|
|
5
5
|
on(eventName: Events.pointerup, handler: (event: PointerEvent) => void): void;
|
|
6
6
|
on(eventName: Events.pointerdown, handler: (event: PointerEvent) => void): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Engine } from './
|
|
2
|
-
import type { Color } from './
|
|
3
|
-
import { Vector } from './
|
|
4
|
-
import type { SpriteFont } from './
|
|
5
|
-
import { Font } from './
|
|
6
|
-
import { Actor } from './
|
|
7
|
-
import type { ActorArgs } from './
|
|
1
|
+
import type { Engine } from './engine';
|
|
2
|
+
import type { Color } from './color';
|
|
3
|
+
import { Vector } from './math/vector';
|
|
4
|
+
import type { SpriteFont } from './graphics';
|
|
5
|
+
import { Font } from './graphics/font';
|
|
6
|
+
import { Actor } from './actor';
|
|
7
|
+
import type { ActorArgs } from './actor';
|
|
8
8
|
/**
|
|
9
9
|
* Option for creating a label
|
|
10
10
|
*/
|
|
@@ -4,7 +4,7 @@ export * from './matrix';
|
|
|
4
4
|
export * from './affine-matrix';
|
|
5
5
|
export * from './transform';
|
|
6
6
|
export * from './coord-plane';
|
|
7
|
-
export * from './
|
|
7
|
+
export * from './random';
|
|
8
8
|
export * from './global-coordinates';
|
|
9
9
|
export * from './line-segment';
|
|
10
10
|
export * from './projection';
|
package/build/dist/{Particles/GpuParticleEmitter.d.ts → particles/gpu-particle-emitter.d.ts}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Engine } from '../
|
|
2
|
-
import { Actor } from '../
|
|
3
|
-
import { EmitterType } from './
|
|
4
|
-
import type { ParticleEmitterArgs } from './
|
|
5
|
-
import type { GpuParticleConfig } from './
|
|
6
|
-
import { GpuParticleRenderer } from './
|
|
7
|
-
import { GraphicsComponent } from '../
|
|
8
|
-
import { Random } from '../
|
|
9
|
-
import type { Vector } from '../
|
|
10
|
-
import type { ExcaliburGraphicsContextWebGL } from '../
|
|
1
|
+
import type { Engine } from '../engine';
|
|
2
|
+
import { Actor } from '../actor';
|
|
3
|
+
import { EmitterType } from './emitter-type';
|
|
4
|
+
import type { ParticleEmitterArgs } from './particles';
|
|
5
|
+
import type { GpuParticleConfig } from './gpu-particle-renderer';
|
|
6
|
+
import { GpuParticleRenderer } from './gpu-particle-renderer';
|
|
7
|
+
import { GraphicsComponent } from '../graphics/graphics-component';
|
|
8
|
+
import { Random } from '../math/random';
|
|
9
|
+
import type { Vector } from '../math/vector';
|
|
10
|
+
import type { ExcaliburGraphicsContextWebGL } from '../graphics/context/excalibur-graphics-context-webgl';
|
|
11
11
|
export declare class GpuParticleEmitter extends Actor {
|
|
12
12
|
particle: GpuParticleConfig;
|
|
13
13
|
graphics: GraphicsComponent;
|
package/build/dist/{Particles/GpuParticleRenderer.d.ts → particles/gpu-particle-renderer.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ExcaliburGraphicsContextWebGL } from '../
|
|
2
|
-
import type { GpuParticleEmitter } from './
|
|
3
|
-
import type { ParticleConfig } from './
|
|
4
|
-
import type { Random } from '../
|
|
5
|
-
import type { Sprite } from '../
|
|
1
|
+
import type { ExcaliburGraphicsContextWebGL } from '../graphics/context/excalibur-graphics-context-webgl';
|
|
2
|
+
import type { GpuParticleEmitter } from './gpu-particle-emitter';
|
|
3
|
+
import type { ParticleConfig } from './particles';
|
|
4
|
+
import type { Random } from '../math/random';
|
|
5
|
+
import type { Sprite } from '../graphics/sprite';
|
|
6
6
|
export interface GpuParticleConfig extends ParticleConfig {
|
|
7
7
|
/**
|
|
8
8
|
* Only Sprite graphics are supported in GPU particles at the moment
|