excalibur 0.33.0-alpha.21 → 0.33.0-alpha.23
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/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,18 +1,18 @@
|
|
|
1
|
-
import type { Color } from '../../
|
|
2
|
-
import type { CollisionContact } from '../
|
|
3
|
-
import type { BoundingBox } from '../
|
|
4
|
-
import type { Projection } from '../../
|
|
5
|
-
import type { LineSegment } from '../../
|
|
6
|
-
import { Vector } from '../../
|
|
7
|
-
import type { Ray } from '../../
|
|
8
|
-
import type { Clonable } from '../../
|
|
9
|
-
import type { Entity } from '../../
|
|
10
|
-
import type { Id } from '../../
|
|
11
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
12
|
-
import type { Transform } from '../../
|
|
13
|
-
import { EventEmitter } from '../../
|
|
14
|
-
import type { RayCastHit } from '../
|
|
15
|
-
import type { CompositeCollider } from './
|
|
1
|
+
import type { Color } from '../../color';
|
|
2
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
3
|
+
import type { BoundingBox } from '../bounding-box';
|
|
4
|
+
import type { Projection } from '../../math/projection';
|
|
5
|
+
import type { LineSegment } from '../../math/line-segment';
|
|
6
|
+
import { Vector } from '../../math/vector';
|
|
7
|
+
import type { Ray } from '../../math/ray';
|
|
8
|
+
import type { Clonable } from '../../interfaces/clonable';
|
|
9
|
+
import type { Entity } from '../../entity-component-system';
|
|
10
|
+
import type { Id } from '../../id';
|
|
11
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
12
|
+
import type { Transform } from '../../math/transform';
|
|
13
|
+
import { EventEmitter } from '../../event-emitter';
|
|
14
|
+
import type { RayCastHit } from '../detection/ray-cast-hit';
|
|
15
|
+
import type { CompositeCollider } from './composite-collider';
|
|
16
16
|
/**
|
|
17
17
|
* A collision collider specifies the geometry that can detect when other collision colliders intersect
|
|
18
18
|
* for the purposes of colliding 2 objects in excalibur.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CircleCollider } from './
|
|
2
|
-
import { CollisionContact } from '../
|
|
3
|
-
import { PolygonCollider } from './
|
|
4
|
-
import { EdgeCollider } from './
|
|
5
|
-
import { Vector } from '../../
|
|
1
|
+
import { CircleCollider } from './circle-collider';
|
|
2
|
+
import { CollisionContact } from '../detection/collision-contact';
|
|
3
|
+
import { PolygonCollider } from './polygon-collider';
|
|
4
|
+
import { EdgeCollider } from './edge-collider';
|
|
5
|
+
import { Vector } from '../../math/vector';
|
|
6
6
|
export declare const CollisionJumpTable: {
|
|
7
7
|
CollideCircleCircle(circleA: CircleCollider, circleB: CircleCollider): CollisionContact[];
|
|
8
8
|
CollideCirclePolygon(circle: CircleCollider, polygon: PolygonCollider): CollisionContact[];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { Color } from '../../
|
|
2
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
3
|
-
import type { LineSegment } from '../../
|
|
4
|
-
import { Projection } from '../../
|
|
5
|
-
import type { Ray } from '../../
|
|
6
|
-
import { Vector } from '../../
|
|
7
|
-
import { BoundingBox } from '../
|
|
8
|
-
import type { CollisionContact } from '../
|
|
9
|
-
import type { RayCastHit } from '../
|
|
10
|
-
import { Collider } from './
|
|
11
|
-
import type { Transform } from '../../
|
|
1
|
+
import type { Color } from '../../color';
|
|
2
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
3
|
+
import type { LineSegment } from '../../math/line-segment';
|
|
4
|
+
import { Projection } from '../../math/projection';
|
|
5
|
+
import type { Ray } from '../../math/ray';
|
|
6
|
+
import { Vector } from '../../math/vector';
|
|
7
|
+
import { BoundingBox } from '../bounding-box';
|
|
8
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
9
|
+
import type { RayCastHit } from '../detection/ray-cast-hit';
|
|
10
|
+
import { Collider } from './collider';
|
|
11
|
+
import type { Transform } from '../../math/transform';
|
|
12
12
|
export declare class CompositeCollider extends Collider {
|
|
13
13
|
private _transform;
|
|
14
14
|
private _collisionProcessor;
|
package/build/dist/{Collision/Colliders/EdgeCollider.d.ts → collision/colliders/edge-collider.d.ts}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BoundingBox } from '../
|
|
2
|
-
import type { CollisionContact } from '../
|
|
3
|
-
import { Projection } from '../../
|
|
4
|
-
import { LineSegment } from '../../
|
|
5
|
-
import { Vector } from '../../
|
|
6
|
-
import type { Ray } from '../../
|
|
7
|
-
import type { Color } from '../../
|
|
8
|
-
import { Collider } from './
|
|
9
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
10
|
-
import type { Transform } from '../../
|
|
11
|
-
import type { RayCastHit } from '../
|
|
1
|
+
import { BoundingBox } from '../bounding-box';
|
|
2
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
3
|
+
import { Projection } from '../../math/projection';
|
|
4
|
+
import { LineSegment } from '../../math/line-segment';
|
|
5
|
+
import { Vector } from '../../math/vector';
|
|
6
|
+
import type { Ray } from '../../math/ray';
|
|
7
|
+
import type { Color } from '../../color';
|
|
8
|
+
import { Collider } from './collider';
|
|
9
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
10
|
+
import type { Transform } from '../../math/transform';
|
|
11
|
+
import type { RayCastHit } from '../detection/ray-cast-hit';
|
|
12
12
|
export interface EdgeColliderOptions {
|
|
13
13
|
/**
|
|
14
14
|
* The beginning of the edge defined in local coordinates to the collider
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { Color } from '../../
|
|
2
|
-
import { BoundingBox } from '../
|
|
3
|
-
import type { CollisionContact } from '../
|
|
4
|
-
import { Projection } from '../../
|
|
5
|
-
import { LineSegment } from '../../
|
|
6
|
-
import { Vector } from '../../
|
|
7
|
-
import { Ray } from '../../
|
|
8
|
-
import { Collider } from './
|
|
1
|
+
import type { Color } from '../../color';
|
|
2
|
+
import { BoundingBox } from '../bounding-box';
|
|
3
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
4
|
+
import { Projection } from '../../math/projection';
|
|
5
|
+
import { LineSegment } from '../../math/line-segment';
|
|
6
|
+
import { Vector } from '../../math/vector';
|
|
7
|
+
import { Ray } from '../../math/ray';
|
|
8
|
+
import { Collider } from './collider';
|
|
9
9
|
import type { ExcaliburGraphicsContext } from '../..';
|
|
10
|
-
import { CompositeCollider } from './
|
|
11
|
-
import { Transform } from '../../
|
|
12
|
-
import type { RayCastHit } from '../
|
|
10
|
+
import { CompositeCollider } from './composite-collider';
|
|
11
|
+
import { Transform } from '../../math/transform';
|
|
12
|
+
import type { RayCastHit } from '../detection/ray-cast-hit';
|
|
13
13
|
export interface PolygonColliderOptions {
|
|
14
14
|
/**
|
|
15
15
|
* Pixel offset relative to a collider's body transform position.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LineSegment } from '../../
|
|
2
|
-
import type { Vector } from '../../
|
|
3
|
-
import type { Collider } from './
|
|
4
|
-
import type { CircleCollider } from './
|
|
5
|
-
import type { PolygonCollider } from './
|
|
6
|
-
import { Pool } from '../../
|
|
1
|
+
import { LineSegment } from '../../math/line-segment';
|
|
2
|
+
import type { Vector } from '../../math/vector';
|
|
3
|
+
import type { Collider } from './collider';
|
|
4
|
+
import type { CircleCollider } from './circle-collider';
|
|
5
|
+
import type { PolygonCollider } from './polygon-collider';
|
|
6
|
+
import { Pool } from '../../util/pool';
|
|
7
7
|
/**
|
|
8
8
|
* Specific information about a contact and it's separation
|
|
9
9
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PolygonCollider } from './
|
|
2
|
-
import { CircleCollider } from './
|
|
3
|
-
import { EdgeCollider } from './
|
|
4
|
-
import { Vector } from '../../
|
|
5
|
-
import { CompositeCollider } from './
|
|
1
|
+
import { PolygonCollider } from './polygon-collider';
|
|
2
|
+
import { CircleCollider } from './circle-collider';
|
|
3
|
+
import { EdgeCollider } from './edge-collider';
|
|
4
|
+
import { Vector } from '../../math/vector';
|
|
5
|
+
import { CompositeCollider } from './composite-collider';
|
|
6
6
|
/**
|
|
7
7
|
* Excalibur helper for defining colliders quickly
|
|
8
8
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { ComponentCtor, Query, World } from '../
|
|
2
|
-
import { TransformComponent } from '../
|
|
3
|
-
import { System, SystemType } from '../
|
|
4
|
-
import type { CollisionSolver } from './
|
|
5
|
-
import { ColliderComponent } from './
|
|
6
|
-
import type { ExcaliburGraphicsContext } from '../
|
|
7
|
-
import type { Scene } from '../
|
|
8
|
-
import type { PhysicsWorld } from './
|
|
9
|
-
import { BodyComponent } from './
|
|
1
|
+
import type { ComponentCtor, Query, World } from '../entity-component-system';
|
|
2
|
+
import { TransformComponent } from '../entity-component-system/components/transform-component';
|
|
3
|
+
import { System, SystemType } from '../entity-component-system/system';
|
|
4
|
+
import type { CollisionSolver } from './solver/solver';
|
|
5
|
+
import { ColliderComponent } from './collider-component';
|
|
6
|
+
import type { ExcaliburGraphicsContext } from '../graphics/context/excalibur-graphics-context';
|
|
7
|
+
import type { Scene } from '../scene';
|
|
8
|
+
import type { PhysicsWorld } from './physics-world';
|
|
9
|
+
import { BodyComponent } from './index';
|
|
10
10
|
export declare class CollisionSystem extends System {
|
|
11
11
|
private _physics;
|
|
12
12
|
static priority: -5;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Vector } from '../../
|
|
2
|
-
import type { Collider } from '../
|
|
3
|
-
import type { SeparationInfo } from '../
|
|
4
|
-
import { BodyComponent } from '../
|
|
1
|
+
import type { Vector } from '../../math/vector';
|
|
2
|
+
import type { Collider } from '../colliders/collider';
|
|
3
|
+
import type { SeparationInfo } from '../colliders/separating-axis';
|
|
4
|
+
import { BodyComponent } from '../body-component';
|
|
5
5
|
/**
|
|
6
6
|
* Collision contacts are used internally by Excalibur to resolve collision between colliders. This
|
|
7
7
|
* Pair prevents collisions from being evaluated more than one time
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { FrameStats } from '../../
|
|
2
|
-
import type { Pair } from './
|
|
3
|
-
import type { Collider } from '../
|
|
4
|
-
import type { CollisionContact } from './
|
|
5
|
-
import type { RayCastOptions } from './
|
|
6
|
-
import type { Ray } from '../../
|
|
7
|
-
import type { RayCastHit } from './
|
|
8
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
9
|
-
import type { BoundingBox } from '../
|
|
10
|
-
import type { Vector } from '../../
|
|
1
|
+
import type { FrameStats } from '../../debug';
|
|
2
|
+
import type { Pair } from './pair';
|
|
3
|
+
import type { Collider } from '../colliders/collider';
|
|
4
|
+
import type { CollisionContact } from './collision-contact';
|
|
5
|
+
import type { RayCastOptions } from './ray-cast-options';
|
|
6
|
+
import type { Ray } from '../../math/ray';
|
|
7
|
+
import type { RayCastHit } from './ray-cast-hit';
|
|
8
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
9
|
+
import type { BoundingBox } from '../bounding-box';
|
|
10
|
+
import type { Vector } from '../../math/vector';
|
|
11
11
|
/**
|
|
12
12
|
* Definition for collision processor
|
|
13
13
|
*
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { CollisionProcessor } from './
|
|
2
|
-
import { Pair } from './
|
|
3
|
-
import { Vector } from '../../
|
|
4
|
-
import { Ray } from '../../
|
|
5
|
-
import type { FrameStats } from '../../
|
|
6
|
-
import type { Collider } from '../
|
|
7
|
-
import type { CollisionContact } from '../
|
|
8
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
9
|
-
import type { RayCastHit } from './
|
|
10
|
-
import type { DeepRequired } from '../../
|
|
11
|
-
import type { PhysicsConfig } from '../
|
|
12
|
-
import type { RayCastOptions } from './
|
|
13
|
-
import { BoundingBox } from '../
|
|
1
|
+
import type { CollisionProcessor } from './collision-processor';
|
|
2
|
+
import { Pair } from './pair';
|
|
3
|
+
import { Vector } from '../../math/vector';
|
|
4
|
+
import { Ray } from '../../math/ray';
|
|
5
|
+
import type { FrameStats } from '../../debug';
|
|
6
|
+
import type { Collider } from '../colliders/collider';
|
|
7
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
8
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
9
|
+
import type { RayCastHit } from './ray-cast-hit';
|
|
10
|
+
import type { DeepRequired } from '../../util/required';
|
|
11
|
+
import type { PhysicsConfig } from '../physics-config';
|
|
12
|
+
import type { RayCastOptions } from './ray-cast-options';
|
|
13
|
+
import { BoundingBox } from '../bounding-box';
|
|
14
14
|
/**
|
|
15
15
|
* Responsible for performing the collision broadphase (locating potential collisions) and
|
|
16
16
|
* the narrowphase (actual collision contacts)
|
package/build/dist/{Collision/Detection/DynamicTree.d.ts → collision/detection/dynamic-tree.d.ts}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BoundingBox } from '../
|
|
2
|
-
import type { Ray } from '../../
|
|
3
|
-
import type { Id } from '../../
|
|
4
|
-
import type { Entity } from '../../
|
|
1
|
+
import { BoundingBox } from '../bounding-box';
|
|
2
|
+
import type { Ray } from '../../math/ray';
|
|
3
|
+
import type { Id } from '../../id';
|
|
4
|
+
import type { Entity } from '../../entity-component-system/entity';
|
|
5
5
|
import type { ExcaliburGraphicsContext } from '../..';
|
|
6
|
-
import type { DynamicTreeConfig } from '../
|
|
6
|
+
import type { DynamicTreeConfig } from '../physics-config';
|
|
7
7
|
/**
|
|
8
8
|
* Dynamic Tree Node used for tracking bounds within the tree
|
|
9
9
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CollisionContact } from './
|
|
2
|
-
import type { Id } from '../../
|
|
3
|
-
import type { Collider } from '../
|
|
1
|
+
import type { CollisionContact } from './collision-contact';
|
|
2
|
+
import type { Id } from '../../id';
|
|
3
|
+
import type { Collider } from '../colliders/collider';
|
|
4
4
|
/**
|
|
5
5
|
* Models a potential collision between 2 colliders
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
2
|
-
import { BoundingBox } from '../
|
|
1
|
+
import type { ExcaliburGraphicsContext } from '../../graphics';
|
|
2
|
+
import { BoundingBox } from '../bounding-box';
|
|
3
3
|
export interface QuadTreeItem {
|
|
4
4
|
bounds: BoundingBox;
|
|
5
5
|
}
|
package/build/dist/{Collision/Detection/RayCastHit.d.ts → collision/detection/ray-cast-hit.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Vector } from '../../
|
|
2
|
-
import type { Collider } from '../
|
|
3
|
-
import type { BodyComponent } from '../
|
|
1
|
+
import type { Vector } from '../../math/vector';
|
|
2
|
+
import type { Collider } from '../colliders/collider';
|
|
3
|
+
import type { BodyComponent } from '../body-component';
|
|
4
4
|
export interface RayCastHit {
|
|
5
5
|
/**
|
|
6
6
|
* The distance along the ray cast in pixels that a hit was detected
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CollisionGroup } from '../
|
|
2
|
-
import type { RayCastHit } from './
|
|
1
|
+
import type { CollisionGroup } from '../group/collision-group';
|
|
2
|
+
import type { RayCastHit } from './ray-cast-hit';
|
|
3
3
|
export interface RayCastOptions {
|
|
4
4
|
/**
|
|
5
5
|
* Optionally specify the maximum distance in pixels to ray cast, default is Infinity
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import type { FrameStats } from '../../
|
|
2
|
-
import type { Entity } from '../../
|
|
3
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
4
|
-
import type { Ray } from '../../
|
|
5
|
-
import type { Vector } from '../../
|
|
6
|
-
import { Pool } from '../../
|
|
7
|
-
import { BodyComponent } from '../
|
|
8
|
-
import type { BoundingBox } from '../
|
|
9
|
-
import type { Collider } from '../
|
|
10
|
-
import { CollisionType } from '../
|
|
11
|
-
import type { CollisionContact } from './
|
|
12
|
-
import type { CollisionProcessor } from './
|
|
13
|
-
import { Pair } from './
|
|
14
|
-
import type { RayCastHit } from './
|
|
15
|
-
import type { RayCastOptions } from './
|
|
16
|
-
import { HashGridCell, HashGridProxy, SparseHashGrid } from './
|
|
1
|
+
import type { FrameStats } from '../../debug/debug-config';
|
|
2
|
+
import type { Entity } from '../../entity-component-system';
|
|
3
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
4
|
+
import type { Ray } from '../../math/ray';
|
|
5
|
+
import type { Vector } from '../../math/vector';
|
|
6
|
+
import { Pool } from '../../util/pool';
|
|
7
|
+
import { BodyComponent } from '../body-component';
|
|
8
|
+
import type { BoundingBox } from '../bounding-box';
|
|
9
|
+
import type { Collider } from '../colliders/collider';
|
|
10
|
+
import { CollisionType } from '../collision-type';
|
|
11
|
+
import type { CollisionContact } from './collision-contact';
|
|
12
|
+
import type { CollisionProcessor } from './collision-processor';
|
|
13
|
+
import { Pair } from './pair';
|
|
14
|
+
import type { RayCastHit } from './ray-cast-hit';
|
|
15
|
+
import type { RayCastOptions } from './ray-cast-options';
|
|
16
|
+
import { HashGridCell, HashGridProxy, SparseHashGrid } from './sparse-hash-grid';
|
|
17
17
|
/**
|
|
18
18
|
* Proxy type to stash collision info
|
|
19
19
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExcaliburGraphicsContext } from '../../
|
|
2
|
-
import type { Vector } from '../../
|
|
3
|
-
import { BoundingBox } from '../
|
|
1
|
+
import type { ExcaliburGraphicsContext } from '../../graphics/context/excalibur-graphics-context';
|
|
2
|
+
import type { Vector } from '../../math/vector';
|
|
3
|
+
import { BoundingBox } from '../bounding-box';
|
|
4
4
|
export declare class HashGridProxy<T extends {
|
|
5
5
|
bounds: BoundingBox;
|
|
6
6
|
}> {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export * from './body-component';
|
|
2
|
+
export * from './collider-component';
|
|
3
|
+
export * from './collision-type';
|
|
4
|
+
export * from './solver-strategy';
|
|
5
|
+
export * from './colliders/collider';
|
|
6
|
+
export * from './bounding-box';
|
|
7
|
+
export * from './colliders/shape';
|
|
8
|
+
export * from './colliders/collider';
|
|
9
|
+
export * from './colliders/composite-collider';
|
|
10
|
+
export * from './colliders/circle-collider';
|
|
11
|
+
export * from './colliders/edge-collider';
|
|
12
|
+
export * from './colliders/polygon-collider';
|
|
13
|
+
export * from './colliders/collision-jump-table';
|
|
14
|
+
export * from './colliders/closest-line-jump-table';
|
|
15
|
+
export * from './colliders/separating-axis';
|
|
16
|
+
export * from './group/collision-group';
|
|
17
|
+
export * from './group/collision-group-manager';
|
|
18
|
+
export * from './detection/pair';
|
|
19
|
+
export * from './detection/collision-contact';
|
|
20
|
+
export type * from './detection/ray-cast-hit';
|
|
21
|
+
export type * from './detection/ray-cast-options';
|
|
22
|
+
export type * from './detection/collision-processor';
|
|
23
|
+
export * from './detection/dynamic-tree';
|
|
24
|
+
export * from './detection/dynamic-tree-collision-processor';
|
|
25
|
+
export * from './detection/sparse-hash-grid-collision-processor';
|
|
26
|
+
export * from './detection/sparse-hash-grid';
|
|
27
|
+
export * from './detection/spatial-partition-strategy';
|
|
28
|
+
export * from './detection/quad-tree';
|
|
29
|
+
export * from './solver/arcade-solver';
|
|
30
|
+
export * from './solver/contact-bias';
|
|
31
|
+
export * from './solver/contact-constraint-point';
|
|
32
|
+
export * from './solver/realistic-solver';
|
|
33
|
+
export type * from './solver/solver';
|
|
34
|
+
export * from './collision-system';
|
|
35
|
+
export * from './motion-system';
|
|
36
|
+
export * from './physics-world';
|
|
37
|
+
export * from './physics-config';
|
|
38
|
+
export * from './side';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Vector } from '../
|
|
2
|
-
import type { TransformComponent } from '../
|
|
3
|
-
import type { MotionComponent } from '../
|
|
1
|
+
import { Vector } from '../math/vector';
|
|
2
|
+
import type { TransformComponent } from '../entity-component-system/components/transform-component';
|
|
3
|
+
import type { MotionComponent } from '../entity-component-system/components/motion-component';
|
|
4
4
|
export declare class EulerIntegrator {
|
|
5
5
|
private static _POS;
|
|
6
6
|
private static _SCALE;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BodyConfig } from './
|
|
2
|
-
import { type BodyComponent, type CollisionContact } from './
|
|
1
|
+
import type { BodyConfig } from './index';
|
|
2
|
+
import { type BodyComponent, type CollisionContact } from './index';
|
|
3
3
|
export declare class Island {
|
|
4
4
|
config: BodyConfig;
|
|
5
5
|
bodies: BodyComponent[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Entity, Query, World } from '../
|
|
2
|
-
import { MotionComponent } from '../
|
|
3
|
-
import { TransformComponent } from '../
|
|
4
|
-
import { System, SystemType } from '../
|
|
5
|
-
import type { PhysicsWorld } from './
|
|
1
|
+
import type { Entity, Query, World } from '../entity-component-system';
|
|
2
|
+
import { MotionComponent } from '../entity-component-system/components/motion-component';
|
|
3
|
+
import { TransformComponent } from '../entity-component-system/components/transform-component';
|
|
4
|
+
import { System, SystemType } from '../entity-component-system/system';
|
|
5
|
+
import type { PhysicsWorld } from './physics-world';
|
|
6
6
|
export declare class MotionSystem extends System {
|
|
7
7
|
world: World;
|
|
8
8
|
physics: PhysicsWorld;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Vector } from '../
|
|
2
|
-
import type { DeepRequired } from '../
|
|
3
|
-
import { SolverStrategy } from './
|
|
4
|
-
import { ContactSolveBias } from './
|
|
5
|
-
import { SpatialPartitionStrategy } from './
|
|
1
|
+
import type { Vector } from '../math/vector';
|
|
2
|
+
import type { DeepRequired } from '../util/required';
|
|
3
|
+
import { SolverStrategy } from './solver-strategy';
|
|
4
|
+
import { ContactSolveBias } from './solver/contact-bias';
|
|
5
|
+
import { SpatialPartitionStrategy } from './detection/spatial-partition-strategy';
|
|
6
6
|
export interface DynamicTreeConfig {
|
|
7
7
|
/**
|
|
8
8
|
* Pad collider BoundingBox by a constant amount for purposes of potential pairs
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Ray } from '../
|
|
2
|
-
import type { DeepRequired } from '../
|
|
3
|
-
import { Observable } from '../
|
|
4
|
-
import type { BoundingBox, Collider, CollisionProcessor, RayCastHit, RayCastOptions } from './
|
|
5
|
-
import type { PhysicsConfig } from './
|
|
6
|
-
import type { Vector } from '../
|
|
7
|
-
import { SpatialPartitionStrategy } from './
|
|
1
|
+
import type { Ray } from '../math/ray';
|
|
2
|
+
import type { DeepRequired } from '../util/required';
|
|
3
|
+
import { Observable } from '../util/observable';
|
|
4
|
+
import type { BoundingBox, Collider, CollisionProcessor, RayCastHit, RayCastOptions } from './index';
|
|
5
|
+
import type { PhysicsConfig } from './physics-config';
|
|
6
|
+
import type { Vector } from '../math/vector';
|
|
7
|
+
import { SpatialPartitionStrategy } from './detection/spatial-partition-strategy';
|
|
8
8
|
export declare class PhysicsWorld {
|
|
9
9
|
$configUpdate: Observable<Required<{
|
|
10
10
|
enabled?: boolean;
|
|
@@ -12,7 +12,7 @@ export declare class PhysicsWorld {
|
|
|
12
12
|
onScreenOnly?: boolean;
|
|
13
13
|
}>;
|
|
14
14
|
gravity?: Vector;
|
|
15
|
-
solver?: import("./
|
|
15
|
+
solver?: import("./solver-strategy").SolverStrategy;
|
|
16
16
|
substep?: number;
|
|
17
17
|
colliders?: Required<{
|
|
18
18
|
compositeStrategy?: "separate" | "together";
|
|
@@ -31,16 +31,16 @@ export declare class PhysicsWorld {
|
|
|
31
31
|
canSleepByDefault?: boolean;
|
|
32
32
|
}>;
|
|
33
33
|
spatialPartition?: SpatialPartitionStrategy;
|
|
34
|
-
sparseHashGrid?: import("./
|
|
34
|
+
sparseHashGrid?: import("./physics-config").SparseHashGridConfig;
|
|
35
35
|
dynamicTree?: Required<{
|
|
36
36
|
boundsPadding?: number;
|
|
37
37
|
velocityMultiplier?: number;
|
|
38
38
|
}>;
|
|
39
39
|
arcade?: Required<{
|
|
40
|
-
contactSolveBias?: import("./
|
|
40
|
+
contactSolveBias?: import("./index").ContactSolveBias;
|
|
41
41
|
}>;
|
|
42
42
|
realistic?: Required<{
|
|
43
|
-
contactSolveBias?: import("./
|
|
43
|
+
contactSolveBias?: import("./index").ContactSolveBias;
|
|
44
44
|
positionIterations?: number;
|
|
45
45
|
velocityIterations?: number;
|
|
46
46
|
slop?: number;
|
package/build/dist/{Collision/Solver/ArcadeSolver.d.ts → collision/solver/arcade-solver.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CollisionContact } from '../
|
|
2
|
-
import type { CollisionSolver } from './
|
|
3
|
-
import type { PhysicsConfig } from '../
|
|
4
|
-
import type { DeepRequired } from '../../
|
|
1
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
2
|
+
import type { CollisionSolver } from './solver';
|
|
3
|
+
import type { PhysicsConfig } from '../physics-config';
|
|
4
|
+
import type { DeepRequired } from '../../util/required';
|
|
5
5
|
/**
|
|
6
6
|
* ArcadeSolver is the default in Excalibur. It solves collisions so that there is no overlap between contacts,
|
|
7
7
|
* and negates velocity along the collision normal.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector } from '../../
|
|
2
|
-
import type { CollisionContact } from '../
|
|
1
|
+
import { Vector } from '../../math/vector';
|
|
2
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
3
3
|
/**
|
|
4
4
|
* Holds information about contact points, meant to be reused over multiple frames of contact
|
|
5
5
|
*/
|
package/build/dist/{Collision/Solver/RealisticSolver.d.ts → collision/solver/realistic-solver.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { CollisionContact } from '../
|
|
2
|
-
import { ContactConstraintPoint } from './
|
|
3
|
-
import type { CollisionSolver } from './
|
|
4
|
-
import type { DeepRequired } from '../../
|
|
5
|
-
import type { PhysicsConfig } from '../
|
|
1
|
+
import type { CollisionContact } from '../detection/collision-contact';
|
|
2
|
+
import { ContactConstraintPoint } from './contact-constraint-point';
|
|
3
|
+
import type { CollisionSolver } from './solver';
|
|
4
|
+
import type { DeepRequired } from '../../util/required';
|
|
5
|
+
import type { PhysicsConfig } from '../physics-config';
|
|
6
6
|
export declare class RealisticSolver implements CollisionSolver {
|
|
7
7
|
config: DeepRequired<Pick<PhysicsConfig, 'realistic'>['realistic']>;
|
|
8
8
|
directionMap: Map<string, "horizontal" | "vertical">;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ColorBlindFlags } from './
|
|
2
|
-
import type { Engine } from '../
|
|
3
|
-
import { Color } from '../
|
|
4
|
-
import type { CollisionContact } from '../
|
|
5
|
-
import type { StandardClock, TestClock } from '../
|
|
1
|
+
import { ColorBlindFlags } from './debug-flags';
|
|
2
|
+
import type { Engine } from '../engine';
|
|
3
|
+
import { Color } from '../color';
|
|
4
|
+
import type { CollisionContact } from '../collision/detection/collision-contact';
|
|
5
|
+
import type { StandardClock, TestClock } from '../util/clock';
|
|
6
6
|
/**
|
|
7
7
|
* Debug stats containing current and previous frame statistics
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColorBlindnessMode } from '../
|
|
2
|
-
import type { Engine } from '../
|
|
1
|
+
import { ColorBlindnessMode } from '../graphics/post-processor/color-blindness-mode';
|
|
2
|
+
import type { Engine } from '../engine';
|
|
3
3
|
export declare class ColorBlindFlags {
|
|
4
4
|
private _engine;
|
|
5
5
|
private _colorBlindPostProcessor;
|