bard-legends-framework 0.12.0 → 1.0.0-rc0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +976 -0
- package/dist/index.d.ts +976 -4
- package/dist/index.js +67 -21
- package/dist/index.mjs +67 -0
- package/package.json +26 -11
- package/dist/_interfaces/index.d.ts +0 -6
- package/dist/_interfaces/index.js +0 -2
- package/dist/actions-performance.test.d.ts +0 -1
- package/dist/actions-performance.test.js +0 -83
- package/dist/game-entities/_base/attachable.d.ts +0 -10
- package/dist/game-entities/_base/attachable.js +0 -47
- package/dist/game-entities/_base/attachable.store.d.ts +0 -8
- package/dist/game-entities/_base/attachable.store.js +0 -43
- package/dist/game-entities/_base/attachment-target.d.ts +0 -16
- package/dist/game-entities/_base/attachment-target.js +0 -53
- package/dist/game-entities/_base/destroyable.d.ts +0 -3
- package/dist/game-entities/_base/destroyable.js +0 -10
- package/dist/game-entities/_base/interfaces.d.ts +0 -3
- package/dist/game-entities/_base/interfaces.js +0 -3
- package/dist/game-entities/_base/mixins.d.ts +0 -22
- package/dist/game-entities/_base/mixins.js +0 -60
- package/dist/game-entities/attachable/attachable.d.ts +0 -10
- package/dist/game-entities/attachable/attachable.js +0 -34
- package/dist/game-entities/attachable/attachable.spec.d.ts +0 -1
- package/dist/game-entities/attachable/attachable.spec.js +0 -137
- package/dist/game-entities/attachable/attachable.store.d.ts +0 -8
- package/dist/game-entities/attachable/attachable.store.js +0 -41
- package/dist/game-entities/attachable/attachable.test.d.ts +0 -1
- package/dist/game-entities/attachable/attachable.test.js +0 -140
- package/dist/game-entities/attachable/destroyable.d.ts +0 -17
- package/dist/game-entities/attachable/destroyable.js +0 -71
- package/dist/game-entities/attachable/helpers/decorate-actions-lib.d.ts +0 -20
- package/dist/game-entities/attachable/helpers/decorate-actions-lib.js +0 -134
- package/dist/game-entities/attachable/helpers/referance-variable.d.ts +0 -19
- package/dist/game-entities/attachable/helpers/referance-variable.js +0 -51
- package/dist/game-entities/attachable/interfaces.d.ts +0 -14
- package/dist/game-entities/attachable/interfaces.js +0 -2
- package/dist/game-entities/base/attachable.d.ts +0 -18
- package/dist/game-entities/base/attachable.js +0 -94
- package/dist/game-entities/base/attachable.test.d.ts +0 -1
- package/dist/game-entities/base/attachable.test.js +0 -125
- package/dist/game-entities/base/attachment-target.d.ts +0 -9
- package/dist/game-entities/base/attachment-target.js +0 -53
- package/dist/game-entities/base/attachment-target.test.d.ts +0 -1
- package/dist/game-entities/base/attachment-target.test.js +0 -131
- package/dist/game-entities/base/destroyable.d.ts +0 -16
- package/dist/game-entities/base/destroyable.js +0 -61
- package/dist/game-entities/base/helpers/attachable.store.d.ts +0 -2
- package/dist/game-entities/base/helpers/attachable.store.js +0 -68
- package/dist/game-entities/base/helpers/attachable.store.test.d.ts +0 -1
- package/dist/game-entities/base/helpers/attachable.store.test.js +0 -234
- package/dist/game-entities/base/helpers/attachment-target.store.d.ts +0 -1
- package/dist/game-entities/base/helpers/attachment-target.store.js +0 -40
- package/dist/game-entities/base/helpers/decorate-actions-lib.d.ts +0 -20
- package/dist/game-entities/base/helpers/decorate-actions-lib.js +0 -124
- package/dist/game-entities/base/helpers/referance-variable.d.ts +0 -19
- package/dist/game-entities/base/helpers/referance-variable.js +0 -52
- package/dist/game-entities/base/interfaces.d.ts +0 -14
- package/dist/game-entities/base/interfaces.js +0 -3
- package/dist/game-entities/controller/controller.d.ts +0 -9
- package/dist/game-entities/controller/controller.js +0 -53
- package/dist/game-entities/controller/controller.spec.d.ts +0 -1
- package/dist/game-entities/controller/controller.spec.js +0 -131
- package/dist/game-entities/controller/controller.test.d.ts +0 -1
- package/dist/game-entities/controller/controller.test.js +0 -128
- package/dist/game-entities/entity/entity.d.ts +0 -15
- package/dist/game-entities/entity/entity.js +0 -73
- package/dist/game-entities/entity/entity.spec.d.ts +0 -1
- package/dist/game-entities/entity/entity.spec.js +0 -271
- package/dist/game-entities/entity/entity.test.d.ts +0 -1
- package/dist/game-entities/entity/entity.test.js +0 -253
- package/dist/game-entities/entity/helpers/entity-store.helper.d.ts +0 -11
- package/dist/game-entities/entity/helpers/entity-store.helper.js +0 -46
- package/dist/game-entities/entity/helpers/entity-store.helper.test.d.ts +0 -1
- package/dist/game-entities/entity/helpers/entity-store.helper.test.js +0 -136
- package/dist/game-entities/entity/helpers/entity-views.helper.d.ts +0 -14
- package/dist/game-entities/entity/helpers/entity-views.helper.js +0 -71
- package/dist/game-entities/entity/helpers/view-creation.helper.d.ts +0 -11
- package/dist/game-entities/entity/helpers/view-creation.helper.js +0 -57
- package/dist/game-entities/entity/singleton-entity.d.ts +0 -6
- package/dist/game-entities/entity/singleton-entity.js +0 -23
- package/dist/game-entities/entity/singleton-entity.test.d.ts +0 -1
- package/dist/game-entities/entity/singleton-entity.test.js +0 -66
- package/dist/game-entities/hard-reset.d.ts +0 -5
- package/dist/game-entities/hard-reset.js +0 -14
- package/dist/game-entities/index.d.ts +0 -8
- package/dist/game-entities/index.js +0 -25
- package/dist/game-entities/scene/scene.d.ts +0 -27
- package/dist/game-entities/scene/scene.js +0 -106
- package/dist/game-entities/scene/scene.spec.d.ts +0 -1
- package/dist/game-entities/scene/scene.spec.js +0 -227
- package/dist/game-entities/scene/scene.test.d.ts +0 -1
- package/dist/game-entities/scene/scene.test.js +0 -275
- package/dist/game-entities/service/service.d.ts +0 -6
- package/dist/game-entities/service/service.js +0 -59
- package/dist/game-entities/service/service.spec.d.ts +0 -1
- package/dist/game-entities/service/service.spec.js +0 -273
- package/dist/game-entities/service/service.test.d.ts +0 -1
- package/dist/game-entities/service/service.test.js +0 -273
- package/dist/game-entities/unit-test.helper.d.ts +0 -5
- package/dist/game-entities/unit-test.helper.js +0 -14
- package/dist/game-entities/update-cycle.d.ts +0 -25
- package/dist/game-entities/update-cycle.js +0 -67
- package/dist/game-entities/update-loop.d.ts +0 -21
- package/dist/game-entities/update-loop.js +0 -53
- package/dist/game-entities/view/view.d.ts +0 -16
- package/dist/game-entities/view/view.js +0 -56
- package/dist/game-entities/view/view.spec.d.ts +0 -1
- package/dist/game-entities/view/view.spec.js +0 -498
- package/dist/game-entities/view/view.test.d.ts +0 -1
- package/dist/game-entities/view/view.test.js +0 -348
- package/dist/lib/animator/animations.d.ts +0 -25
- package/dist/lib/animator/animations.js +0 -61
- package/dist/lib/animator/animator.d.ts +0 -52
- package/dist/lib/animator/animator.js +0 -219
- package/dist/lib/animator/animator.spec.d.ts +0 -1
- package/dist/lib/animator/animator.spec.js +0 -702
- package/dist/lib/animator/index.d.ts +0 -2
- package/dist/lib/animator/index.js +0 -24
- package/dist/lib/libraries/animator/animations.d.ts +0 -25
- package/dist/lib/libraries/animator/animations.js +0 -61
- package/dist/lib/libraries/animator/animator.d.ts +0 -52
- package/dist/lib/libraries/animator/animator.js +0 -219
- package/dist/lib/libraries/animator/animator.spec.d.ts +0 -1
- package/dist/lib/libraries/animator/animator.spec.js +0 -702
- package/dist/lib/libraries/animator/index.d.ts +0 -2
- package/dist/lib/libraries/animator/index.js +0 -24
- package/dist/lib/libraries/path-finder/path-finder.d.ts +0 -5
- package/dist/lib/libraries/path-finder/path-finder.js +0 -23
- package/dist/lib/path-finder/path-finder.d.ts +0 -5
- package/dist/lib/path-finder/path-finder.js +0 -23
- package/dist/lib/services/keyboard/keyboard.d.ts +0 -7
- package/dist/lib/services/keyboard/keyboard.js +0 -44
- package/dist/lib/services/mouse/mouse.service.d.ts +0 -12
- package/dist/lib/services/mouse/mouse.service.js +0 -70
- package/dist/lib/services/mouse/mouser-target-focus.service.d.ts +0 -16
- package/dist/lib/services/mouse/mouser-target-focus.service.js +0 -93
- package/dist/lib/update-loop.d.ts +0 -13
- package/dist/lib/update-loop.js +0 -44
- package/dist/physics/entitity-types/immovable-physics-entity.d.ts +0 -13
- package/dist/physics/entitity-types/immovable-physics-entity.js +0 -27
- package/dist/physics/entitity-types/movable-entity.d.ts +0 -11
- package/dist/physics/entitity-types/movable-entity.js +0 -25
- package/dist/physics/entitity-types/movable-physics-entity.d.ts +0 -21
- package/dist/physics/entitity-types/movable-physics-entity.js +0 -87
- package/dist/physics/entitity-types/physics-entity.d.ts +0 -31
- package/dist/physics/entitity-types/physics-entity.js +0 -106
- package/dist/physics/entity-types/immovable-physics-entity.d.ts +0 -9
- package/dist/physics/entity-types/immovable-physics-entity.js +0 -25
- package/dist/physics/entity-types/movable-entity.d.ts +0 -11
- package/dist/physics/entity-types/movable-entity.js +0 -26
- package/dist/physics/entity-types/movable-physics-entity.d.ts +0 -19
- package/dist/physics/entity-types/movable-physics-entity.js +0 -94
- package/dist/physics/entity-types/physics-entity.d.ts +0 -30
- package/dist/physics/entity-types/physics-entity.js +0 -90
- package/dist/physics/helpers/closest-available-space.helper.d.ts +0 -19
- package/dist/physics/helpers/closest-available-space.helper.js +0 -109
- package/dist/physics/helpers/closest-available-space.helper.spec.d.ts +0 -1
- package/dist/physics/helpers/closest-available-space.helper.spec.js +0 -118
- package/dist/physics/helpers/p2js.helper.d.ts +0 -7
- package/dist/physics/helpers/p2js.helper.js +0 -25
- package/dist/physics/helpers/shape-factory.d.ts +0 -13
- package/dist/physics/helpers/shape-factory.js +0 -109
- package/dist/physics/index.d.ts +0 -6
- package/dist/physics/index.js +0 -28
- package/dist/physics/interfaces.d.ts +0 -48
- package/dist/physics/interfaces.js +0 -13
- package/dist/physics/libs/p2js.helper.d.ts +0 -10
- package/dist/physics/libs/p2js.helper.js +0 -46
- package/dist/physics/libs/physics-body-groups.d.ts +0 -1
- package/dist/physics/libs/physics-body-groups.js +0 -3
- package/dist/physics/libs/position-to-grid-position-converter.d.ts +0 -6
- package/dist/physics/libs/position-to-grid-position-converter.js +0 -19
- package/dist/physics/module//342/232/234/357/270/217gateways/controllers/physics-internal.controller.d.ts +0 -29
- package/dist/physics/module//342/232/234/357/270/217gateways/controllers/physics-internal.controller.js +0 -62
- package/dist/physics/module//342/232/234/357/270/217gateways/controllers/physics.controller.d.ts +0 -34
- package/dist/physics/module//342/232/234/357/270/217gateways/controllers/physics.controller.js +0 -80
- package/dist/physics/module//342/232/234/357/270/217gateways/dtos/requests.dto.d.ts +0 -24
- package/dist/physics/module//342/232/234/357/270/217gateways/dtos/requests.dto.js +0 -3
- package/dist/physics/module//342/232/234/357/270/217gateways/dtos/responses.dto.d.ts +0 -30
- package/dist/physics/module//342/232/234/357/270/217gateways/dtos/responses.dto.js +0 -3
- package/dist/physics/module//342/232/234/357/270/217gateways/dtos/shared-interfaces.dto.d.ts +0 -21
- package/dist/physics/module//342/232/234/357/270/217gateways/dtos/shared-interfaces.dto.js +0 -5
- package/dist/physics/module//342/232/234/357/270/217gateways/index.d.ts +0 -4
- package/dist/physics/module//342/232/234/357/270/217gateways/index.js +0 -26
- package/dist/physics/module//342/232/234/357/270/217gateways/physics-internal.gateway.d.ts +0 -20
- package/dist/physics/module//342/232/234/357/270/217gateways/physics-internal.gateway.js +0 -42
- package/dist/physics/module//342/232/234/357/270/217gateways/physics.gateway.d.ts +0 -19
- package/dist/physics/module//342/232/234/357/270/217gateways/physics.gateway.js +0 -49
- package/dist/physics/module//360/237/223/220services/availability-grid.service.d.ts +0 -17
- package/dist/physics/module//360/237/223/220services/availability-grid.service.js +0 -83
- package/dist/physics/module//360/237/223/220services/border.service.d.ts +0 -5
- package/dist/physics/module//360/237/223/220services/border.service.js +0 -62
- package/dist/physics/module//360/237/223/220services/collision/collisions.service.d.ts +0 -10
- package/dist/physics/module//360/237/223/220services/collision/collisions.service.js +0 -113
- package/dist/physics/module//360/237/223/220services/collision/hit-test.service.d.ts +0 -10
- package/dist/physics/module//360/237/223/220services/collision/hit-test.service.js +0 -75
- package/dist/physics/module//360/237/223/220services/collision/physics-body-group.service.d.ts +0 -12
- package/dist/physics/module//360/237/223/220services/collision/physics-body-group.service.js +0 -61
- package/dist/physics/module//360/237/223/220services/collisions.service.d.ts +0 -10
- package/dist/physics/module//360/237/223/220services/collisions.service.js +0 -118
- package/dist/physics/module//360/237/223/220services/creation/border.service.d.ts +0 -6
- package/dist/physics/module//360/237/223/220services/creation/border.service.js +0 -42
- package/dist/physics/module//360/237/223/220services/creation/materials.service.d.ts +0 -15
- package/dist/physics/module//360/237/223/220services/creation/materials.service.js +0 -120
- package/dist/physics/module//360/237/223/220services/creation/physics-world.service.d.ts +0 -21
- package/dist/physics/module//360/237/223/220services/creation/physics-world.service.js +0 -116
- package/dist/physics/module//360/237/223/220services/creation/shape-creation.service.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/creation/shape-creation.service.js +0 -98
- package/dist/physics/module//360/237/223/220services/debug-visuals.service.d.ts +0 -36
- package/dist/physics/module//360/237/223/220services/debug-visuals.service.js +0 -127
- package/dist/physics/module//360/237/223/220services/eliptic-explosion.service.d.ts +0 -22
- package/dist/physics/module//360/237/223/220services/eliptic-explosion.service.js +0 -126
- package/dist/physics/module//360/237/223/220services/explosion.service.d.ts +0 -21
- package/dist/physics/module//360/237/223/220services/explosion.service.js +0 -112
- package/dist/physics/module//360/237/223/220services/explosions/eliptic-explosion.service.d.ts +0 -22
- package/dist/physics/module//360/237/223/220services/explosions/eliptic-explosion.service.js +0 -126
- package/dist/physics/module//360/237/223/220services/explosions/explosion.service.d.ts +0 -21
- package/dist/physics/module//360/237/223/220services/explosions/explosion.service.js +0 -112
- package/dist/physics/module//360/237/223/220services/explosions/helpers/ray-cast-hit-converter.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/explosions/helpers/ray-cast-hit-converter.js +0 -77
- package/dist/physics/module//360/237/223/220services/helpers/ray-cast-hit-converter.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/helpers/ray-cast-hit-converter.js +0 -77
- package/dist/physics/module//360/237/223/220services/impact/eliptic-explosion.service.d.ts +0 -18
- package/dist/physics/module//360/237/223/220services/impact/eliptic-explosion.service.js +0 -107
- package/dist/physics/module//360/237/223/220services/impact/explosion.service.d.ts +0 -18
- package/dist/physics/module//360/237/223/220services/impact/explosion.service.js +0 -93
- package/dist/physics/module//360/237/223/220services/impact/impact.service.d.ts +0 -5
- package/dist/physics/module//360/237/223/220services/impact/impact.service.js +0 -23
- package/dist/physics/module//360/237/223/220services/impact/ray-cast-hit-converter.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/impact/ray-cast-hit-converter.js +0 -83
- package/dist/physics/module//360/237/223/220services/materials.service.d.ts +0 -20
- package/dist/physics/module//360/237/223/220services/materials.service.js +0 -130
- package/dist/physics/module//360/237/223/220services/path-finder.service.d.ts +0 -26
- package/dist/physics/module//360/237/223/220services/path-finder.service.js +0 -131
- package/dist/physics/module//360/237/223/220services/path-finding/availability-grid-cache.service.d.ts +0 -15
- package/dist/physics/module//360/237/223/220services/path-finding/availability-grid-cache.service.js +0 -51
- package/dist/physics/module//360/237/223/220services/path-finding/availability-grid.service.d.ts +0 -16
- package/dist/physics/module//360/237/223/220services/path-finding/availability-grid.service.js +0 -76
- package/dist/physics/module//360/237/223/220services/path-finding/path-finder.service.d.ts +0 -14
- package/dist/physics/module//360/237/223/220services/path-finding/path-finder.service.js +0 -86
- package/dist/physics/module//360/237/223/220services/physics-world.service.d.ts +0 -41
- package/dist/physics/module//360/237/223/220services/physics-world.service.js +0 -134
- package/dist/physics/module//360/237/223/220services/query/physics-query.service.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/query/physics-query.service.js +0 -25
- package/dist/physics/module//360/237/223/220services/ray-casting/ray-casting.service.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/ray-casting/ray-casting.service.js +0 -91
- package/dist/physics/module//360/237/223/220services/ray-casting.service.d.ts +0 -9
- package/dist/physics/module//360/237/223/220services/ray-casting.service.js +0 -93
- package/dist/physics/module//360/237/223/220services/shape-creation.service.d.ts +0 -14
- package/dist/physics/module//360/237/223/220services/shape-creation.service.js +0 -124
- package/dist/physics/module//360/237/223/220services/test-visuals/test-visuals.service.d.ts +0 -22
- package/dist/physics/module//360/237/223/220services/test-visuals/test-visuals.service.js +0 -157
- package/dist/physics/module//360/237/247/212entities/border.entity.d.ts +0 -5
- package/dist/physics/module//360/237/247/212entities/border.entity.js +0 -25
- package/dist/physics/module//360/237/247/212entities/data-structures/availability-grid-cache.d.ts +0 -12
- package/dist/physics/module//360/237/247/212entities/data-structures/availability-grid-cache.js +0 -39
- package/dist/physics/module//360/237/247/212entities/physics-world.entity.d.ts +0 -33
- package/dist/physics/module//360/237/247/212entities/physics-world.entity.js +0 -51
- package/dist/physics/physics-world.d.ts +0 -62
- package/dist/physics/physics-world.js +0 -153
- package/dist/physics/sub-elements/available-spaces/helpers/availability-grid.helper.d.ts +0 -6
- package/dist/physics/sub-elements/available-spaces/helpers/availability-grid.helper.js +0 -19
- package/dist/physics/sub-elements/available-spaces/physics-availability-grid.d.ts +0 -15
- package/dist/physics/sub-elements/available-spaces/physics-availability-grid.js +0 -92
- package/dist/physics/sub-elements/available-spaces/physics-available-spaces.d.ts +0 -26
- package/dist/physics/sub-elements/available-spaces/physics-available-spaces.js +0 -102
- package/dist/physics/sub-elements/collisions/contact-equation-orginiser.d.ts +0 -18
- package/dist/physics/sub-elements/collisions/contact-equation-orginiser.js +0 -90
- package/dist/physics/sub-elements/collisions/physics-collision.d.ts +0 -12
- package/dist/physics/sub-elements/collisions/physics-collision.js +0 -50
- package/dist/physics/sub-elements/elements/physics-body-groups.d.ts +0 -15
- package/dist/physics/sub-elements/elements/physics-body-groups.js +0 -76
- package/dist/physics/sub-elements/elements/physics-materials.d.ts +0 -19
- package/dist/physics/sub-elements/elements/physics-materials.js +0 -108
- package/dist/physics/sub-elements/elements/physics-world-borders.d.ts +0 -11
- package/dist/physics/sub-elements/elements/physics-world-borders.js +0 -77
- package/dist/physics/sub-elements/physics-body-groups.d.ts +0 -12
- package/dist/physics/sub-elements/physics-body-groups.js +0 -54
- package/dist/physics/sub-elements/physics-collision.d.ts +0 -22
- package/dist/physics/sub-elements/physics-collision.js +0 -155
- package/dist/physics/sub-elements/physics-materials.d.ts +0 -19
- package/dist/physics/sub-elements/physics-materials.js +0 -108
- package/dist/physics/sub-elements/physics-world-borders.d.ts +0 -6
- package/dist/physics/sub-elements/physics-world-borders.js +0 -29
- package/dist/physics/sub-elements/raycasting/physics-body-explosion-hit.d.ts +0 -20
- package/dist/physics/sub-elements/raycasting/physics-body-explosion-hit.js +0 -65
- package/dist/physics/sub-elements/raycasting/physics-explosion.d.ts +0 -20
- package/dist/physics/sub-elements/raycasting/physics-explosion.js +0 -115
- package/dist/physics/sub-elements/raycasting/ray-cast.d.ts +0 -27
- package/dist/physics/sub-elements/raycasting/ray-cast.js +0 -101
- package/dist/pixi/components/display-object-array.d.ts +0 -28
- package/dist/pixi/components/display-object-array.js +0 -62
- package/dist/pixi/components/helpers/smooth-scroller.d.ts +0 -25
- package/dist/pixi/components/helpers/smooth-scroller.js +0 -63
- package/dist/pixi/components/helpers/smooth-scroller.test.d.ts +0 -1
- package/dist/pixi/components/helpers/smooth-scroller.test.js +0 -137
- package/dist/pixi/components/menu/menu-entity.d.ts +0 -14
- package/dist/pixi/components/menu/menu-entity.js +0 -48
- package/dist/pixi/components/menu/menu.ui.d.ts +0 -23
- package/dist/pixi/components/menu/menu.ui.js +0 -97
- package/dist/pixi/components/mouse-wheel-listener.ui.d.ts +0 -11
- package/dist/pixi/components/mouse-wheel-listener.ui.js +0 -63
- package/dist/pixi/components/scroll-area.ui.d.ts +0 -18
- package/dist/pixi/components/scroll-area.ui.js +0 -56
- package/dist/pixi/components/scroll-mask.ui.d.ts +0 -17
- package/dist/pixi/components/scroll-mask.ui.js +0 -132
- package/dist/pixi/display-object/components/filters.d.ts +0 -21
- package/dist/pixi/display-object/components/filters.js +0 -116
- package/dist/pixi/display-object/components/glow-effect.d.ts +0 -12
- package/dist/pixi/display-object/components/glow-effect.js +0 -40
- package/dist/pixi/display-object/components/glow-filter.d.ts +0 -12
- package/dist/pixi/display-object/components/glow-filter.js +0 -40
- package/dist/pixi/display-object/container-attributes.d.ts +0 -99
- package/dist/pixi/display-object/container-attributes.js +0 -313
- package/dist/pixi/display-object/container.d.ts +0 -22
- package/dist/pixi/display-object/container.js +0 -72
- package/dist/pixi/display-object/display-object-attributes.d.ts +0 -45
- package/dist/pixi/display-object/display-object-attributes.js +0 -152
- package/dist/pixi/display-object/display-object.d.ts +0 -25
- package/dist/pixi/display-object/display-object.js +0 -87
- package/dist/pixi/display-object/filters/base-filters/alpha-primer-color.filter.d.ts +0 -13
- package/dist/pixi/display-object/filters/base-filters/alpha-primer-color.filter.js +0 -103
- package/dist/pixi/display-object/filters/base-filters/blur.filter.d.ts +0 -11
- package/dist/pixi/display-object/filters/base-filters/blur.filter.js +0 -115
- package/dist/pixi/display-object/filters/base-filters/contrast-filter.d.ts +0 -12
- package/dist/pixi/display-object/filters/base-filters/contrast-filter.js +0 -72
- package/dist/pixi/display-object/filters/base-filters/expand-with-alpha-color.d.ts +0 -14
- package/dist/pixi/display-object/filters/base-filters/expand-with-alpha-color.js +0 -107
- package/dist/pixi/display-object/filters/base-filters/expand-with-color-gradient.d.ts +0 -16
- package/dist/pixi/display-object/filters/base-filters/expand-with-color-gradient.js +0 -133
- package/dist/pixi/display-object/filters/base-filters/expand-with-color.d.ts +0 -14
- package/dist/pixi/display-object/filters/base-filters/expand-with-color.filter.d.ts +0 -9
- package/dist/pixi/display-object/filters/base-filters/expand-with-color.filter.js +0 -103
- package/dist/pixi/display-object/filters/base-filters/expand-with-color.js +0 -107
- package/dist/pixi/display-object/filters/composite-filters/glow-filter.d.ts +0 -8
- package/dist/pixi/display-object/filters/composite-filters/glow-filter.js +0 -59
- package/dist/pixi/display-object/filters/helpers/gaussian-values.helper.d.ts +0 -10
- package/dist/pixi/display-object/filters/helpers/gaussian-values.helper.js +0 -64
- package/dist/pixi/display-object/filters/helpers/gaussian-values.helper.test.d.ts +0 -1
- package/dist/pixi/display-object/filters/helpers/gaussian-values.helper.test.js +0 -31
- package/dist/pixi/display-object/filters/templates/checking-neighbors.template.d.ts +0 -7
- package/dist/pixi/display-object/filters/templates/checking-neighbors.template.js +0 -74
- package/dist/pixi/display-object/filters/templates/plane.template.d.ts +0 -7
- package/dist/pixi/display-object/filters/templates/plane.template.js +0 -65
- package/dist/pixi/display-object/filters.d.ts +0 -29
- package/dist/pixi/display-object/filters.js +0 -151
- package/dist/pixi/display-object/index.d.ts +0 -9
- package/dist/pixi/display-object/index.js +0 -19
- package/dist/pixi/display-object/objects/components/filters.d.ts +0 -21
- package/dist/pixi/display-object/objects/components/filters.js +0 -116
- package/dist/pixi/display-object/objects/container.d.ts +0 -6
- package/dist/pixi/display-object/objects/container.js +0 -47
- package/dist/pixi/display-object/objects/graphics/graphics.d.ts +0 -34
- package/dist/pixi/display-object/objects/graphics/graphics.js +0 -201
- package/dist/pixi/display-object/objects/graphics/helpers/dashed-line.helper.d.ts +0 -16
- package/dist/pixi/display-object/objects/graphics/helpers/dashed-line.helper.js +0 -45
- package/dist/pixi/display-object/objects/graphics.d.ts +0 -40
- package/dist/pixi/display-object/objects/graphics.js +0 -229
- package/dist/pixi/display-object/objects/helpers/filters.d.ts +0 -29
- package/dist/pixi/display-object/objects/helpers/filters.js +0 -161
- package/dist/pixi/display-object/objects/helpers/glow-sprite-generator.d.ts +0 -11
- package/dist/pixi/display-object/objects/helpers/glow-sprite-generator.js +0 -129
- package/dist/pixi/display-object/objects/placeholder.d.ts +0 -7
- package/dist/pixi/display-object/objects/placeholder.js +0 -46
- package/dist/pixi/display-object/objects/premade-objects/sprite-with-glowing-shapes.d.ts +0 -9
- package/dist/pixi/display-object/objects/premade-objects/sprite-with-glowing-shapes.js +0 -89
- package/dist/pixi/display-object/objects/sprite/glow-sprite-generator.d.ts +0 -11
- package/dist/pixi/display-object/objects/sprite/glow-sprite-generator.js +0 -113
- package/dist/pixi/display-object/objects/sprite/sprite.d.ts +0 -52
- package/dist/pixi/display-object/objects/sprite/sprite.js +0 -269
- package/dist/pixi/display-object/objects/sprite.d.ts +0 -51
- package/dist/pixi/display-object/objects/sprite.js +0 -273
- package/dist/pixi/display-object/objects/text/helpers/index.d.ts +0 -8
- package/dist/pixi/display-object/objects/text/helpers/index.js +0 -6
- package/dist/pixi/display-object/objects/text/helpers/process-steps/1-data-in-converter/pixi-text-style-converter.d.ts +0 -30
- package/dist/pixi/display-object/objects/text/helpers/process-steps/1-data-in-converter/pixi-text-style-converter.js +0 -53
- package/dist/pixi/display-object/objects/text/helpers/process-steps/1-data-in-converter/rich-text-data-in-converter.d.ts +0 -19
- package/dist/pixi/display-object/objects/text/helpers/process-steps/1-data-in-converter/rich-text-data-in-converter.js +0 -162
- package/dist/pixi/display-object/objects/text/helpers/process-steps/1-data-in-converter/rich-text-data-in-converter.test.d.ts +0 -1
- package/dist/pixi/display-object/objects/text/helpers/process-steps/1-data-in-converter/rich-text-data-in-converter.test.js +0 -371
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/consistent-space-text-wrapper.d.ts +0 -6
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/consistent-space-text-wrapper.js +0 -70
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/consistent-space-text-wrapper.test.d.ts +0 -1
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/consistent-space-text-wrapper.test.js +0 -136
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/rich-text-typewriter.d.ts +0 -37
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/rich-text-typewriter.js +0 -169
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/rich-text-typewriter.test.d.ts +0 -1
- package/dist/pixi/display-object/objects/text/helpers/process-steps/2-wrapping-text/rich-text-typewriter.test.js +0 -283
- package/dist/pixi/display-object/objects/text/helpers/process-steps/3-data-out-converter/rich-text-data-out-converter.d.ts +0 -8
- package/dist/pixi/display-object/objects/text/helpers/process-steps/3-data-out-converter/rich-text-data-out-converter.js +0 -88
- package/dist/pixi/display-object/objects/text/helpers/process-steps/3-data-out-converter/rich-text-data-out-converter.test.d.ts +0 -1
- package/dist/pixi/display-object/objects/text/helpers/process-steps/3-data-out-converter/rich-text-data-out-converter.test.js +0 -152
- package/dist/pixi/display-object/objects/text/helpers/rich-text-to-plane-text.d.ts +0 -28
- package/dist/pixi/display-object/objects/text/helpers/rich-text-to-plane-text.js +0 -37
- package/dist/pixi/display-object/objects/text/helpers/rich-text-to-plane-text.test.d.ts +0 -5
- package/dist/pixi/display-object/objects/text/helpers/rich-text-to-plane-text.test.js +0 -669
- package/dist/pixi/display-object/objects/text/rich-text.d.ts +0 -19
- package/dist/pixi/display-object/objects/text/rich-text.js +0 -15
- package/dist/pixi/display-object/objects/text/text.d.ts +0 -25
- package/dist/pixi/display-object/objects/text/text.js +0 -132
- package/dist/pixi/display-object/objects/text.d.ts +0 -35
- package/dist/pixi/display-object/objects/text.js +0 -124
- package/dist/pixi/display-object/premade-objects/sprite-with-glowing-shapes.d.ts +0 -22
- package/dist/pixi/display-object/premade-objects/sprite-with-glowing-shapes.js +0 -107
- package/dist/pixi/game.d.ts +0 -47
- package/dist/pixi/game.js +0 -137
- package/dist/pixi/helpers/game-assets.d.ts +0 -15
- package/dist/pixi/helpers/game-assets.js +0 -103
- package/dist/pixi/helpers/glow-sprite-generator.d.ts +0 -10
- package/dist/pixi/helpers/glow-sprite-generator.js +0 -113
- package/dist/pixi/helpers/pixi-container.helper.d.ts +0 -5
- package/dist/pixi/helpers/pixi-container.helper.js +0 -14
- package/dist/pixi/helpers/position-conversion.helper.d.ts +0 -12
- package/dist/pixi/helpers/position-conversion.helper.js +0 -54
- package/dist/pixi/helpers/position-conversion.helper.test.d.ts +0 -1
- package/dist/pixi/helpers/position-conversion.helper.test.js +0 -83
- package/dist/pixi/helpers/screen-position-to-stage.helper.d.ts +0 -4
- package/dist/pixi/helpers/screen-position-to-stage.helper.js +0 -17
- package/dist/pixi/helpers/screen-position-to-stage.helper.test.d.ts +0 -1
- package/dist/pixi/helpers/screen-position-to-stage.helper.test.js +0 -178
- package/dist/pixi/index.d.ts +0 -14
- package/dist/pixi/index.js +0 -44
- package/dist/pixi/modules/CAMERA/camera.d.ts +0 -13
- package/dist/pixi/modules/CAMERA/camera.js +0 -27
- package/dist/pixi/modules/CAMERA/index.d.ts +0 -2
- package/dist/pixi/modules/CAMERA/index.js +0 -9
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/camera-view.gateway.d.ts +0 -8
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/camera-view.gateway.js +0 -24
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/camera.gateway.d.ts +0 -11
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/camera.gateway.js +0 -33
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/controllers/camera-view.controller.d.ts +0 -6
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/controllers/camera-view.controller.js +0 -30
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/controllers/camera.controller.d.ts +0 -12
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/controllers/camera.controller.js +0 -41
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/dtos/requests.dto.d.ts +0 -19
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/dtos/requests.dto.js +0 -18
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/index.d.ts +0 -3
- package/dist/pixi/modules/CAMERA//342/232/234/357/270/217gateways/index.js +0 -27
- package/dist/pixi/modules/CAMERA//360/237/223/220services/camera.service.d.ts +0 -12
- package/dist/pixi/modules/CAMERA//360/237/223/220services/camera.service.js +0 -96
- package/dist/pixi/modules/CAMERA//360/237/247/212entities/camera.entity.d.ts +0 -18
- package/dist/pixi/modules/CAMERA//360/237/247/212entities/camera.entity.js +0 -26
- package/dist/pixi/modules/CAMERA//360/237/247/251views/camera.view.d.ts +0 -23
- package/dist/pixi/modules/CAMERA//360/237/247/251views/camera.view.js +0 -115
- package/dist/pixi/pixi-definitions.d.ts +0 -38
- package/dist/pixi/pixi-definitions.js +0 -37
- package/dist/pixi/services/keyboard/keyboard.d.ts +0 -12
- package/dist/pixi/services/keyboard/keyboard.js +0 -54
- package/dist/pixi/services/mouse/mouse-target-focus.service.d.ts +0 -21
- package/dist/pixi/services/mouse/mouse-target-focus.service.js +0 -86
- package/dist/pixi/services/mouse/mouse.service.d.ts +0 -21
- package/dist/pixi/services/mouse/mouse.service.js +0 -101
- package/dist/services/keyboard/keyboard.d.ts +0 -7
- package/dist/services/keyboard/keyboard.js +0 -44
- package/dist/services/mouse/mouse.service.d.ts +0 -12
- package/dist/services/mouse/mouse.service.js +0 -70
- package/dist/services/mouse/mouser-target-focus.service.d.ts +0 -16
- package/dist/services/mouse/mouser-target-focus.service.js +0 -93
- package/dist/utilities/animator/animating-content/fade-in-content.d.ts +0 -18
- package/dist/utilities/animator/animating-content/fade-in-content.js +0 -37
- package/dist/utilities/animator/animating-content/fade-in-content.test.d.ts +0 -1
- package/dist/utilities/animator/animating-content/fade-in-content.test.js +0 -10
- package/dist/utilities/animator/animating-content/slide-in-content.d.ts +0 -37
- package/dist/utilities/animator/animating-content/slide-in-content.js +0 -99
- package/dist/utilities/animator/animating-content/slide-in-content.test.d.ts +0 -1
- package/dist/utilities/animator/animating-content/slide-in-content.test.js +0 -10
- package/dist/utilities/animator/animations.d.ts +0 -45
- package/dist/utilities/animator/animations.js +0 -92
- package/dist/utilities/animator/animator/animator.d.ts +0 -44
- package/dist/utilities/animator/animator/animator.js +0 -234
- package/dist/utilities/animator/animator/animator.memory-leak.test.d.ts +0 -1
- package/dist/utilities/animator/animator/animator.memory-leak.test.js +0 -73
- package/dist/utilities/animator/animator/animator.performance.test.d.ts +0 -1
- package/dist/utilities/animator/animator/animator.performance.test.js +0 -116
- package/dist/utilities/animator/animator/animator.test.d.ts +0 -1
- package/dist/utilities/animator/animator/animator.test.js +0 -1046
- package/dist/utilities/animator/animator.d.ts +0 -60
- package/dist/utilities/animator/animator.js +0 -322
- package/dist/utilities/animator/animator.performance.test.d.ts +0 -1
- package/dist/utilities/animator/animator.performance.test.js +0 -46
- package/dist/utilities/animator/animator.test.d.ts +0 -1
- package/dist/utilities/animator/animator.test.js +0 -928
- package/dist/utilities/animator/animator2/animator.d.ts +0 -42
- package/dist/utilities/animator/animator2/animator.js +0 -222
- package/dist/utilities/animator/animator2/animator.memory-leak.test.d.ts +0 -1
- package/dist/utilities/animator/animator2/animator.memory-leak.test.js +0 -73
- package/dist/utilities/animator/animator2/animator.performance.test.d.ts +0 -1
- package/dist/utilities/animator/animator2/animator.performance.test.js +0 -65
- package/dist/utilities/animator/animator2/animator.test.d.ts +0 -1
- package/dist/utilities/animator/animator2/animator.test.js +0 -1007
- package/dist/utilities/animator/animator_old/animator.d.ts +0 -60
- package/dist/utilities/animator/animator_old/animator.js +0 -337
- package/dist/utilities/animator/animator_old/animator.performance.test.d.ts +0 -1
- package/dist/utilities/animator/animator_old/animator.performance.test.js +0 -121
- package/dist/utilities/animator/animator_old/animator.test.d.ts +0 -1
- package/dist/utilities/animator/animator_old/animator.test.js +0 -996
- package/dist/utilities/animator/content-animations/fade-in/fade-in-content.d.ts +0 -18
- package/dist/utilities/animator/content-animations/fade-in/fade-in-content.js +0 -37
- package/dist/utilities/animator/content-animations/fade-in/fade-in-content.test.d.ts +0 -1
- package/dist/utilities/animator/content-animations/fade-in/fade-in-content.test.js +0 -10
- package/dist/utilities/animator/content-animations/fade-in/fade-in-state-animation.d.ts +0 -38
- package/dist/utilities/animator/content-animations/fade-in/fade-in-state-animation.js +0 -208
- package/dist/utilities/animator/content-animations/fade-in/fade-in-state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/content-animations/fade-in/fade-in-state-animation.test.js +0 -439
- package/dist/utilities/animator/content-animations/slide/slide-in-content.d.ts +0 -41
- package/dist/utilities/animator/content-animations/slide/slide-in-content.js +0 -107
- package/dist/utilities/animator/content-animations/slide/slide-in-content.test.d.ts +0 -1
- package/dist/utilities/animator/content-animations/slide/slide-in-content.test.js +0 -10
- package/dist/utilities/animator/content-animations/slide/slide-state-animation.d.ts +0 -24
- package/dist/utilities/animator/content-animations/slide/slide-state-animation.js +0 -138
- package/dist/utilities/animator/content-animations/slide/slide-state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/content-animations/slide/slide-state-animation.test.js +0 -307
- package/dist/utilities/animator/content-animations/slide/state-animation.d.ts +0 -37
- package/dist/utilities/animator/content-animations/slide/state-animation.js +0 -170
- package/dist/utilities/animator/content-animations/slide/state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/content-animations/slide/state-animation.test.js +0 -340
- package/dist/utilities/animator/index.d.ts +0 -7
- package/dist/utilities/animator/index.js +0 -24
- package/dist/utilities/animator/state-animation/fade-in/fade-in-content.d.ts +0 -18
- package/dist/utilities/animator/state-animation/fade-in/fade-in-content.js +0 -37
- package/dist/utilities/animator/state-animation/fade-in/fade-in-content.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/fade-in/fade-in-content.test.js +0 -10
- package/dist/utilities/animator/state-animation/fade-in/fade-in-state-animation.d.ts +0 -32
- package/dist/utilities/animator/state-animation/fade-in/fade-in-state-animation.js +0 -168
- package/dist/utilities/animator/state-animation/fade-in/fade-in-state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/fade-in/fade-in-state-animation.test.js +0 -431
- package/dist/utilities/animator/state-animation/slide/slide-in-content.d.ts +0 -37
- package/dist/utilities/animator/state-animation/slide/slide-in-content.js +0 -100
- package/dist/utilities/animator/state-animation/slide/slide-in-content.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/slide/slide-in-content.test.js +0 -10
- package/dist/utilities/animator/state-animation/slide/slide-state-animation.d.ts +0 -24
- package/dist/utilities/animator/state-animation/slide/slide-state-animation.js +0 -130
- package/dist/utilities/animator/state-animation/slide/slide-state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/slide/slide-state-animation.test.js +0 -301
- package/dist/utilities/animator/state-animation/slide-state-animation.d.ts +0 -24
- package/dist/utilities/animator/state-animation/slide-state-animation.js +0 -130
- package/dist/utilities/animator/state-animation/slide-state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/slide-state-animation.test.js +0 -301
- package/dist/utilities/animator/state-animation/state-animation.d.ts +0 -33
- package/dist/utilities/animator/state-animation/state-animation.js +0 -146
- package/dist/utilities/animator/state-animation/state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/state-animation.test.js +0 -335
- package/dist/utilities/animator/state-animation/visit-disappear-state-animation.d.ts +0 -32
- package/dist/utilities/animator/state-animation/visit-disappear-state-animation.js +0 -168
- package/dist/utilities/animator/state-animation/visit-disappear-state-animation.test.d.ts +0 -1
- package/dist/utilities/animator/state-animation/visit-disappear-state-animation.test.js +0 -431
- package/dist/utilities/data-structures/vector-set/vector-set.d.ts +0 -7
- package/dist/utilities/data-structures/vector-set/vector-set.js +0 -26
- package/dist/utilities/delta-time/delta-time.d.ts +0 -3
- package/dist/utilities/delta-time/delta-time.js +0 -10
- package/dist/utilities/grid-algorithms/closest-available-space/closest-available-space.helper.d.ts +0 -6
- package/dist/utilities/grid-algorithms/closest-available-space/closest-available-space.helper.js +0 -55
- package/dist/utilities/grid-algorithms/closest-available-space/closest-available-space.helper.test.d.ts +0 -1
- package/dist/utilities/grid-algorithms/closest-available-space/closest-available-space.helper.test.js +0 -100
- package/dist/utilities/grid-algorithms/path-finder/path-finder.d.ts +0 -8
- package/dist/utilities/grid-algorithms/path-finder/path-finder.js +0 -98
- package/dist/utilities/grid-algorithms/path-finder/path-finder.test.d.ts +0 -1
- package/dist/utilities/grid-algorithms/path-finder/path-finder.test.js +0 -155
- package/dist/utilities/grid-algorithms/position-to-grid-position-converter.d.ts +0 -6
- package/dist/utilities/grid-algorithms/position-to-grid-position-converter.js +0 -17
- package/dist/utilities/grid-algorithms/vector-field-path-finder/vector-field-path-finder.d.ts +0 -18
- package/dist/utilities/grid-algorithms/vector-field-path-finder/vector-field-path-finder.js +0 -129
- package/dist/utilities/grid-algorithms/vector-field-path-finder/vector-field-path-finder.test.d.ts +0 -1
- package/dist/utilities/grid-algorithms/vector-field-path-finder/vector-field-path-finder.test.js +0 -254
- package/dist/utilities/index.d.ts +0 -6
- package/dist/utilities/index.js +0 -29
- package/dist/utilities/libraries/animator/animating-content/fade-in-content.d.ts +0 -18
- package/dist/utilities/libraries/animator/animating-content/fade-in-content.js +0 -37
- package/dist/utilities/libraries/animator/animating-content/slide-in-content.d.ts +0 -37
- package/dist/utilities/libraries/animator/animating-content/slide-in-content.js +0 -99
- package/dist/utilities/libraries/animator/animating-content/state-animation.d.ts +0 -36
- package/dist/utilities/libraries/animator/animating-content/state-animation.js +0 -174
- package/dist/utilities/libraries/animator/animating-content/state-animation.test.d.ts +0 -1
- package/dist/utilities/libraries/animator/animating-content/state-animation.test.js +0 -399
- package/dist/utilities/libraries/animator/animations.d.ts +0 -37
- package/dist/utilities/libraries/animator/animations.js +0 -88
- package/dist/utilities/libraries/animator/animator.d.ts +0 -63
- package/dist/utilities/libraries/animator/animator.js +0 -325
- package/dist/utilities/libraries/animator/animator.spec.d.ts +0 -1
- package/dist/utilities/libraries/animator/animator.spec.js +0 -779
- package/dist/utilities/libraries/animator/animator.test.d.ts +0 -1
- package/dist/utilities/libraries/animator/animator.test.js +0 -893
- package/dist/utilities/libraries/animator/index.d.ts +0 -7
- package/dist/utilities/libraries/animator/index.js +0 -24
- package/dist/utilities/libraries/animator/state-animation/slide-state-animation.d.ts +0 -24
- package/dist/utilities/libraries/animator/state-animation/slide-state-animation.js +0 -131
- package/dist/utilities/libraries/animator/state-animation/slide-state-animation.test.d.ts +0 -1
- package/dist/utilities/libraries/animator/state-animation/slide-state-animation.test.js +0 -326
- package/dist/utilities/libraries/animator/state-animation/state-animation.d.ts +0 -33
- package/dist/utilities/libraries/animator/state-animation/state-animation.js +0 -147
- package/dist/utilities/libraries/animator/state-animation/state-animation.test.d.ts +0 -1
- package/dist/utilities/libraries/animator/state-animation/state-animation.test.js +0 -360
- package/dist/utilities/libraries/animator/state-animation/visit-disappear-state-animation.d.ts +0 -32
- package/dist/utilities/libraries/animator/state-animation/visit-disappear-state-animation.js +0 -169
- package/dist/utilities/libraries/animator/state-animation/visit-disappear-state-animation.test.d.ts +0 -1
- package/dist/utilities/libraries/animator/state-animation/visit-disappear-state-animation.test.js +0 -456
- package/dist/utilities/libraries/binary-heap/binary-heap.d.ts +0 -13
- package/dist/utilities/libraries/binary-heap/binary-heap.js +0 -110
- package/dist/utilities/libraries/data-structures/binary-heap/binary-heap.d.ts +0 -13
- package/dist/utilities/libraries/data-structures/binary-heap/binary-heap.js +0 -110
- package/dist/utilities/libraries/data-structures/grid/grid.d.ts +0 -38
- package/dist/utilities/libraries/data-structures/grid/grid.js +0 -133
- package/dist/utilities/libraries/data-structures/grid/grid.spec.d.ts +0 -1
- package/dist/utilities/libraries/data-structures/grid/grid.spec.js +0 -178
- package/dist/utilities/libraries/data-structures/grid/grid.test.d.ts +0 -1
- package/dist/utilities/libraries/data-structures/grid/grid.test.js +0 -220
- package/dist/utilities/libraries/data-structures/grid/position-to-grid-position-converter.d.ts +0 -6
- package/dist/utilities/libraries/data-structures/grid/position-to-grid-position-converter.js +0 -19
- package/dist/utilities/libraries/data-structures/queue/queue.d.ts +0 -23
- package/dist/utilities/libraries/data-structures/queue/queue.js +0 -72
- package/dist/utilities/libraries/data-structures/queue/queue.test.d.ts +0 -1
- package/dist/utilities/libraries/data-structures/queue/queue.test.js +0 -57
- package/dist/utilities/libraries/data-structures/vector-set/vector-set.d.ts +0 -7
- package/dist/utilities/libraries/data-structures/vector-set/vector-set.js +0 -26
- package/dist/utilities/libraries/delta-time/delta-time.d.ts +0 -3
- package/dist/utilities/libraries/delta-time/delta-time.js +0 -10
- package/dist/utilities/libraries/grid-algorithms/closest-available-space/closest-available-space.helper.d.ts +0 -6
- package/dist/utilities/libraries/grid-algorithms/closest-available-space/closest-available-space.helper.js +0 -55
- package/dist/utilities/libraries/grid-algorithms/closest-available-space/closest-available-space.helper.spec.d.ts +0 -1
- package/dist/utilities/libraries/grid-algorithms/closest-available-space/closest-available-space.helper.spec.js +0 -124
- package/dist/utilities/libraries/grid-algorithms/closest-available-space/closest-available-space.helper.test.d.ts +0 -1
- package/dist/utilities/libraries/grid-algorithms/closest-available-space/closest-available-space.helper.test.js +0 -100
- package/dist/utilities/libraries/grid-algorithms/path-finder/path-finder.d.ts +0 -8
- package/dist/utilities/libraries/grid-algorithms/path-finder/path-finder.js +0 -98
- package/dist/utilities/libraries/grid-algorithms/path-finder/path-finder.spec.d.ts +0 -1
- package/dist/utilities/libraries/grid-algorithms/path-finder/path-finder.spec.js +0 -169
- package/dist/utilities/libraries/grid-algorithms/path-finder/path-finder.test.d.ts +0 -1
- package/dist/utilities/libraries/grid-algorithms/path-finder/path-finder.test.js +0 -155
- package/dist/utilities/libraries/grid-algorithms/position-to-grid-position-converter.d.ts +0 -6
- package/dist/utilities/libraries/grid-algorithms/position-to-grid-position-converter.js +0 -17
- package/dist/utilities/libraries/grid-algorithms/vector-field-path-finder/vector-field-path-finder.d.ts +0 -18
- package/dist/utilities/libraries/grid-algorithms/vector-field-path-finder/vector-field-path-finder.js +0 -129
- package/dist/utilities/libraries/grid-algorithms/vector-field-path-finder/vector-field-path-finder.spec.d.ts +0 -1
- package/dist/utilities/libraries/grid-algorithms/vector-field-path-finder/vector-field-path-finder.spec.js +0 -296
- package/dist/utilities/libraries/grid-algorithms/vector-field-path-finder/vector-field-path-finder.test.d.ts +0 -1
- package/dist/utilities/libraries/grid-algorithms/vector-field-path-finder/vector-field-path-finder.test.js +0 -254
- package/dist/utilities/libraries/path-finder/path-finder.d.ts +0 -12
- package/dist/utilities/libraries/path-finder/path-finder.js +0 -127
- package/dist/utilities/libraries/path-finder/path-finder.spec.d.ts +0 -1
- package/dist/utilities/libraries/path-finder/path-finder.spec.js +0 -158
- package/dist/utilities/services/keyboard/keyboard.d.ts +0 -7
- package/dist/utilities/services/keyboard/keyboard.js +0 -47
- package/dist/utilities/services/mouse/helpers/mouse-position.helper.d.ts +0 -4
- package/dist/utilities/services/mouse/helpers/mouse-position.helper.js +0 -17
- package/dist/utilities/services/mouse/helpers/mouse-position.helper.test.d.ts +0 -1
- package/dist/utilities/services/mouse/helpers/mouse-position.helper.test.js +0 -172
- package/dist/utilities/services/mouse/mouse-target-focus.service.d.ts +0 -20
- package/dist/utilities/services/mouse/mouse-target-focus.service.js +0 -88
- package/dist/utilities/services/mouse/mouse.service.d.ts +0 -13
- package/dist/utilities/services/mouse/mouse.service.js +0 -91
- package/dist/utilities/services/mouse/mouser-target-focus.service.d.ts +0 -16
- package/dist/utilities/services/mouse/mouser-target-focus.service.js +0 -93
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const helpers_lib_1 = require('helpers-lib');
|
|
3
|
-
const vitest_1 = require('vitest');
|
|
4
|
-
const grid_1 = require('./grid');
|
|
5
|
-
(0, vitest_1.describe)('Grid', () => {
|
|
6
|
-
let grid;
|
|
7
|
-
(0, vitest_1.beforeEach)(() => {
|
|
8
|
-
grid = grid_1.Grid.createNew(new helpers_lib_1.Vector(3, 3), true);
|
|
9
|
-
});
|
|
10
|
-
(0, vitest_1.test)('should be defined', () => {
|
|
11
|
-
(0, vitest_1.expect)(grid).toBeDefined();
|
|
12
|
-
});
|
|
13
|
-
(0, vitest_1.test)('should set and get values', () => {
|
|
14
|
-
grid.setArea(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(0, 0), new helpers_lib_1.Vector(1, 1)), false);
|
|
15
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(0, 0))).toBeFalsy();
|
|
16
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(0, 1))).toBeFalsy();
|
|
17
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(1, 0))).toBeFalsy();
|
|
18
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(1, 1))).toBeFalsy();
|
|
19
|
-
});
|
|
20
|
-
(0, vitest_1.test)('should throw an error if area is outside of the grid', () => {
|
|
21
|
-
(0, vitest_1.expect)(() =>
|
|
22
|
-
grid.setArea(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(0, 0), new helpers_lib_1.Vector(3, 3)), false)
|
|
23
|
-
).toThrow();
|
|
24
|
-
});
|
|
25
|
-
(0, vitest_1.test)('should crop area outside of the grid 1', () => {
|
|
26
|
-
(0, vitest_1.expect)(
|
|
27
|
-
grid
|
|
28
|
-
.cropPartsOutsideOfTheGrid(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(-1, -1), new helpers_lib_1.Vector(3, 3)))
|
|
29
|
-
.toRect()
|
|
30
|
-
).toStrictEqual({
|
|
31
|
-
topLeft: { x: 0, y: 0 },
|
|
32
|
-
bottomRight: { x: 2, y: 2 }
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
(0, vitest_1.test)('should crop area outside of the grid 2', () => {
|
|
36
|
-
(0, vitest_1.expect)(
|
|
37
|
-
grid
|
|
38
|
-
.cropPartsOutsideOfTheGrid(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(3, 3), new helpers_lib_1.Vector(4, 4)))
|
|
39
|
-
.toRect()
|
|
40
|
-
).toStrictEqual({
|
|
41
|
-
topLeft: { x: 2, y: 2 },
|
|
42
|
-
bottomRight: { x: 2, y: 2 }
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
(0, vitest_1.test)('should crop area outside of the grid 2', () => {
|
|
46
|
-
(0, vitest_1.expect)(
|
|
47
|
-
grid
|
|
48
|
-
.cropPartsOutsideOfTheGrid(
|
|
49
|
-
new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(-1, -1), new helpers_lib_1.Vector(-1, -1))
|
|
50
|
-
)
|
|
51
|
-
.toRect()
|
|
52
|
-
).toStrictEqual({
|
|
53
|
-
topLeft: { x: 0, y: 0 },
|
|
54
|
-
bottomRight: { x: 0, y: 0 }
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
(0, vitest_1.test)('should check if area is within bounds', () => {
|
|
58
|
-
(0, vitest_1.expect)(
|
|
59
|
-
grid.isAreaWithinBounds(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(0, 0), new helpers_lib_1.Vector(1, 1)))
|
|
60
|
-
).toBeTruthy();
|
|
61
|
-
(0, vitest_1.expect)(
|
|
62
|
-
grid.isAreaWithinBounds(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(0, 0), new helpers_lib_1.Vector(3, 3)))
|
|
63
|
-
).toBeFalsy();
|
|
64
|
-
});
|
|
65
|
-
(0, vitest_1.test)('should check if point is within bounds', () => {
|
|
66
|
-
(0, vitest_1.expect)(grid.isPointWithinBounds(new helpers_lib_1.Vector(0, 0))).toBeTruthy();
|
|
67
|
-
(0, vitest_1.expect)(grid.isPointWithinBounds(new helpers_lib_1.Vector(1, 1))).toBeTruthy();
|
|
68
|
-
(0, vitest_1.expect)(grid.isPointWithinBounds(new helpers_lib_1.Vector(3, 3))).toBeFalsy();
|
|
69
|
-
});
|
|
70
|
-
(0, vitest_1.test)('should set area within bounds', () => {
|
|
71
|
-
grid.safeSetArea(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(0, 0), new helpers_lib_1.Vector(3, 3)), false);
|
|
72
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(0, 0))).toBeFalsy();
|
|
73
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(0, 1))).toBeFalsy();
|
|
74
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(1, 0))).toBeFalsy();
|
|
75
|
-
(0, vitest_1.expect)(grid.get(new helpers_lib_1.Vector(1, 1))).toBeFalsy();
|
|
76
|
-
});
|
|
77
|
-
(0, vitest_1.test)('should return neighbor positions only adjacent', () => {
|
|
78
|
-
(0, vitest_1.expect)(grid.getNeighborPositions(new helpers_lib_1.Vector(1, 1)).map(item => item.toVec2())).toStrictEqual([
|
|
79
|
-
{ x: 0, y: 1 },
|
|
80
|
-
{ x: 1, y: 0 },
|
|
81
|
-
{ x: 1, y: 2 },
|
|
82
|
-
{ x: 2, y: 1 }
|
|
83
|
-
]);
|
|
84
|
-
});
|
|
85
|
-
(0, vitest_1.test)('should return neighbor positions with diagonals', () => {
|
|
86
|
-
(0, vitest_1.expect)(
|
|
87
|
-
grid
|
|
88
|
-
.getNeighborPositions(new helpers_lib_1.Vector(1, 1), {
|
|
89
|
-
includeDiagonals: true
|
|
90
|
-
})
|
|
91
|
-
.map(item => item.toVec2())
|
|
92
|
-
).toStrictEqual([
|
|
93
|
-
{ x: 0, y: 1 },
|
|
94
|
-
{ x: 1, y: 0 },
|
|
95
|
-
{ x: 1, y: 2 },
|
|
96
|
-
{ x: 2, y: 1 },
|
|
97
|
-
{ x: 0, y: 0 },
|
|
98
|
-
{ x: 0, y: 2 },
|
|
99
|
-
{ x: 2, y: 0 },
|
|
100
|
-
{ x: 2, y: 2 }
|
|
101
|
-
]);
|
|
102
|
-
});
|
|
103
|
-
(0, vitest_1.test)('should return neighbor positions only adjacent at the edge', () => {
|
|
104
|
-
(0, vitest_1.expect)(grid.getNeighborPositions(new helpers_lib_1.Vector(2, 2)).map(item => item.toVec2())).toStrictEqual([
|
|
105
|
-
{ x: 1, y: 2 },
|
|
106
|
-
{ x: 2, y: 1 }
|
|
107
|
-
]);
|
|
108
|
-
});
|
|
109
|
-
(0, vitest_1.test)('should return neighbor positions at the edge with diagonals', () => {
|
|
110
|
-
(0, vitest_1.expect)(
|
|
111
|
-
grid
|
|
112
|
-
.getNeighborPositions(new helpers_lib_1.Vector(0, 0), {
|
|
113
|
-
includeDiagonals: true
|
|
114
|
-
})
|
|
115
|
-
.map(item => item.toVec2())
|
|
116
|
-
).toStrictEqual([
|
|
117
|
-
{ x: 0, y: 1 },
|
|
118
|
-
{ x: 1, y: 0 },
|
|
119
|
-
{ x: 1, y: 1 }
|
|
120
|
-
]);
|
|
121
|
-
});
|
|
122
|
-
(0, vitest_1.test)('should iterate over all values', () => {
|
|
123
|
-
grid.setArea(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(1, 0), new helpers_lib_1.Vector(1, 1)), false);
|
|
124
|
-
const values = [];
|
|
125
|
-
grid.forEach((value, position) => values.push({ value, position }));
|
|
126
|
-
(0, vitest_1.expect)(
|
|
127
|
-
values.map(item => ({
|
|
128
|
-
value: item.value,
|
|
129
|
-
position: item.position.toVec2()
|
|
130
|
-
}))
|
|
131
|
-
).toStrictEqual([
|
|
132
|
-
{ value: true, position: { x: 0, y: 0 } },
|
|
133
|
-
{ value: false, position: { x: 1, y: 0 } },
|
|
134
|
-
{ value: true, position: { x: 2, y: 0 } },
|
|
135
|
-
{ value: true, position: { x: 0, y: 1 } },
|
|
136
|
-
{ value: false, position: { x: 1, y: 1 } },
|
|
137
|
-
{ value: true, position: { x: 2, y: 1 } },
|
|
138
|
-
{ value: true, position: { x: 0, y: 2 } },
|
|
139
|
-
{ value: true, position: { x: 1, y: 2 } },
|
|
140
|
-
{ value: true, position: { x: 2, y: 2 } }
|
|
141
|
-
]);
|
|
142
|
-
});
|
|
143
|
-
(0, vitest_1.test)('should map over all values', () => {
|
|
144
|
-
grid.setArea(new helpers_lib_1.Rectangle(new helpers_lib_1.Vector(1, 0), new helpers_lib_1.Vector(1, 1)), false);
|
|
145
|
-
const newGrid = grid.map((value, position) => (position.x + position.y) * (value ? 1 : -1));
|
|
146
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(0, 0))).toBe(0);
|
|
147
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(1, 0))).toBe(-1);
|
|
148
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(2, 0))).toBe(2);
|
|
149
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(0, 1))).toBe(1);
|
|
150
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(1, 1))).toBe(-2);
|
|
151
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(2, 1))).toBe(3);
|
|
152
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(0, 2))).toBe(2);
|
|
153
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(1, 2))).toBe(3);
|
|
154
|
-
(0, vitest_1.expect)(newGrid.get(new helpers_lib_1.Vector(2, 2))).toBe(4);
|
|
155
|
-
(0, vitest_1.expect)(newGrid.size.toVec2()).toStrictEqual({ x: 3, y: 3 });
|
|
156
|
-
});
|
|
157
|
-
(0, vitest_1.test)('should find the neighbor direction from a vector', () => {
|
|
158
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(0, 1)).toVec2()).toStrictEqual({
|
|
159
|
-
x: 0,
|
|
160
|
-
y: 1
|
|
161
|
-
});
|
|
162
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(1, 0)).toVec2()).toStrictEqual({
|
|
163
|
-
x: 1,
|
|
164
|
-
y: 0
|
|
165
|
-
});
|
|
166
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(0, -1)).toVec2()).toStrictEqual({
|
|
167
|
-
x: 0,
|
|
168
|
-
y: -1
|
|
169
|
-
});
|
|
170
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(-1, 0)).toVec2()).toStrictEqual({
|
|
171
|
-
x: -1,
|
|
172
|
-
y: 0
|
|
173
|
-
});
|
|
174
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(0.5, 2)).toVec2()).toStrictEqual({
|
|
175
|
-
x: 0,
|
|
176
|
-
y: 1
|
|
177
|
-
});
|
|
178
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(2, -0.5)).toVec2()).toStrictEqual({
|
|
179
|
-
x: 1,
|
|
180
|
-
y: -0
|
|
181
|
-
});
|
|
182
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(0.5, -2)).toVec2()).toStrictEqual({
|
|
183
|
-
x: 0,
|
|
184
|
-
y: -1
|
|
185
|
-
});
|
|
186
|
-
(0, vitest_1.expect)(grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(-2, -0.5)).toVec2()).toStrictEqual({
|
|
187
|
-
x: -1,
|
|
188
|
-
y: -0
|
|
189
|
-
});
|
|
190
|
-
const middle = grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(1, 1));
|
|
191
|
-
(0, vitest_1.expect)(
|
|
192
|
-
helpers_lib_1.Vector.isEqual(middle, new helpers_lib_1.Vector(0, 1)) ||
|
|
193
|
-
helpers_lib_1.Vector.isEqual(middle, new helpers_lib_1.Vector(1, 0))
|
|
194
|
-
).toBeTruthy();
|
|
195
|
-
});
|
|
196
|
-
(0, vitest_1.test)('should find the neighbor direction with diagonals from a vector', () => {
|
|
197
|
-
(0, vitest_1.expect)(
|
|
198
|
-
grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(0, 1), {
|
|
199
|
-
includeDiagonals: true
|
|
200
|
-
}).toVec2()
|
|
201
|
-
).toStrictEqual({ x: 0, y: 1 });
|
|
202
|
-
(0, vitest_1.expect)(
|
|
203
|
-
grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(1, 1), {
|
|
204
|
-
includeDiagonals: true
|
|
205
|
-
}).toVec2()
|
|
206
|
-
).toStrictEqual({ x: 1, y: 1 });
|
|
207
|
-
(0, vitest_1.expect)(
|
|
208
|
-
grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(-1, -1), { includeDiagonals: true }).toVec2()
|
|
209
|
-
).toStrictEqual({
|
|
210
|
-
x: -1,
|
|
211
|
-
y: -1
|
|
212
|
-
});
|
|
213
|
-
(0, vitest_1.expect)(
|
|
214
|
-
grid_1.Grid.vectorToNeighborDirection(new helpers_lib_1.Vector(2, 1), {
|
|
215
|
-
includeDiagonals: true
|
|
216
|
-
}).toVec2()
|
|
217
|
-
).toStrictEqual({ x: 1, y: 0 });
|
|
218
|
-
});
|
|
219
|
-
});
|
|
220
|
-
//# sourceMappingURL=grid.test.js.map
|
package/dist/utilities/libraries/data-structures/grid/position-to-grid-position-converter.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Rectangle, Vector } from 'helpers-lib';
|
|
2
|
-
export declare class PositionToGridPositionConverter {
|
|
3
|
-
static areaToGridArea(boundingBox: Rectangle, cellSize: number): Rectangle;
|
|
4
|
-
static positionToGridPosition(point: Vector, cellSize: number): Vector;
|
|
5
|
-
static gridPositionToPosition(gridPosition: Vector, cellSize: number): Vector;
|
|
6
|
-
}
|
package/dist/utilities/libraries/data-structures/grid/position-to-grid-position-converter.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
exports.PositionToGridPositionConverter = void 0;
|
|
3
|
-
const helpers_lib_1 = require('helpers-lib');
|
|
4
|
-
class PositionToGridPositionConverter {
|
|
5
|
-
static areaToGridArea(boundingBox, cellSize) {
|
|
6
|
-
return new helpers_lib_1.Rectangle(
|
|
7
|
-
PositionToGridPositionConverter.positionToGridPosition(boundingBox.topLeft, cellSize),
|
|
8
|
-
PositionToGridPositionConverter.positionToGridPosition(boundingBox.bottomRight, cellSize)
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
static positionToGridPosition(point, cellSize) {
|
|
12
|
-
return point.divideNumber(cellSize).floor();
|
|
13
|
-
}
|
|
14
|
-
static gridPositionToPosition(gridPosition, cellSize) {
|
|
15
|
-
return gridPosition.add(new helpers_lib_1.Vector(0.5, 0.5)).multiplyNumber(cellSize);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.PositionToGridPositionConverter = PositionToGridPositionConverter;
|
|
19
|
-
//# sourceMappingURL=position-to-grid-position-converter.js.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare class Queue<T> {
|
|
2
|
-
private start;
|
|
3
|
-
private end;
|
|
4
|
-
get isEmpty(): boolean;
|
|
5
|
-
constructor(firstNode?: T | undefined);
|
|
6
|
-
/**
|
|
7
|
-
* @param args The values to add to end of the queue
|
|
8
|
-
*/
|
|
9
|
-
add(...args: T[]): void;
|
|
10
|
-
/**
|
|
11
|
-
* @returns The value of the first element in the queue
|
|
12
|
-
*/
|
|
13
|
-
pop(): T | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* @returns The value of the first element in the queue without removing it
|
|
16
|
-
*/
|
|
17
|
-
peek(): T | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* @param deepCopyItem An optional function that takes an item and returns a deep copy of it
|
|
20
|
-
* @returns The duplicated queue
|
|
21
|
-
*/
|
|
22
|
-
duplicate(deepCopyItem?: (item: T) => T): Queue<T>;
|
|
23
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
exports.Queue = void 0;
|
|
3
|
-
class DoublyLinkedListNode {
|
|
4
|
-
constructor(value) {
|
|
5
|
-
this.value = value;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
class Queue {
|
|
9
|
-
get isEmpty() {
|
|
10
|
-
return this.start === undefined;
|
|
11
|
-
}
|
|
12
|
-
constructor(firstNode) {
|
|
13
|
-
if (firstNode) {
|
|
14
|
-
const firstNodeInstance = new DoublyLinkedListNode(firstNode);
|
|
15
|
-
this.start = firstNodeInstance;
|
|
16
|
-
this.end = firstNodeInstance;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* @param args The values to add to end of the queue
|
|
21
|
-
*/
|
|
22
|
-
add(...args) {
|
|
23
|
-
args.forEach(value => {
|
|
24
|
-
const newNode = new DoublyLinkedListNode(value);
|
|
25
|
-
if (this.start) {
|
|
26
|
-
newNode.previous = this.end;
|
|
27
|
-
this.end.next = newNode;
|
|
28
|
-
this.end = newNode;
|
|
29
|
-
} else {
|
|
30
|
-
this.start = newNode;
|
|
31
|
-
this.end = newNode;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @returns The value of the first element in the queue
|
|
37
|
-
*/
|
|
38
|
-
pop() {
|
|
39
|
-
if (this.start) {
|
|
40
|
-
const value = this.start.value;
|
|
41
|
-
this.start = this.start.next;
|
|
42
|
-
if (this.start) {
|
|
43
|
-
this.start.previous = undefined;
|
|
44
|
-
} else {
|
|
45
|
-
this.end = undefined;
|
|
46
|
-
}
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @returns The value of the first element in the queue without removing it
|
|
52
|
-
*/
|
|
53
|
-
peek() {
|
|
54
|
-
return this.start?.value;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @param deepCopyItem An optional function that takes an item and returns a deep copy of it
|
|
58
|
-
* @returns The duplicated queue
|
|
59
|
-
*/
|
|
60
|
-
duplicate(deepCopyItem) {
|
|
61
|
-
const newQueue = new Queue();
|
|
62
|
-
let current = this.start;
|
|
63
|
-
while (current) {
|
|
64
|
-
const value = deepCopyItem ? deepCopyItem(current.value) : current.value;
|
|
65
|
-
newQueue.add(value);
|
|
66
|
-
current = current.next;
|
|
67
|
-
}
|
|
68
|
-
return newQueue;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.Queue = Queue;
|
|
72
|
-
//# sourceMappingURL=queue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const vitest_1 = require('vitest');
|
|
3
|
-
const queue_1 = require('./queue');
|
|
4
|
-
(0, vitest_1.describe)('Queue', () => {
|
|
5
|
-
(0, vitest_1.describe)('Basic', () => {
|
|
6
|
-
(0, vitest_1.test)('should return undefined when queue is empty', () => {
|
|
7
|
-
const queue = new queue_1.Queue();
|
|
8
|
-
(0, vitest_1.expect)(queue.pop()).toBe(undefined);
|
|
9
|
-
});
|
|
10
|
-
(0, vitest_1.test)('should return false when queue is not empty', () => {
|
|
11
|
-
const queue = new queue_1.Queue(1);
|
|
12
|
-
(0, vitest_1.expect)(queue.isEmpty).toBe(false);
|
|
13
|
-
});
|
|
14
|
-
(0, vitest_1.test)('should add elements to the queue', () => {
|
|
15
|
-
const queue = new queue_1.Queue();
|
|
16
|
-
queue.add(1, 2, 3);
|
|
17
|
-
(0, vitest_1.expect)(queue.pop()).toBe(1);
|
|
18
|
-
(0, vitest_1.expect)(queue.pop()).toBe(2);
|
|
19
|
-
(0, vitest_1.expect)(queue.pop()).toBe(3);
|
|
20
|
-
});
|
|
21
|
-
(0, vitest_1.test)('should add elements to the queue with first element', () => {
|
|
22
|
-
const queue = new queue_1.Queue(1);
|
|
23
|
-
queue.add(2, 3);
|
|
24
|
-
(0, vitest_1.expect)(queue.pop()).toBe(1);
|
|
25
|
-
(0, vitest_1.expect)(queue.pop()).toBe(2);
|
|
26
|
-
(0, vitest_1.expect)(queue.pop()).toBe(3);
|
|
27
|
-
});
|
|
28
|
-
(0, vitest_1.test)('peek should return the first element in the queue without removing it', () => {
|
|
29
|
-
const queue = new queue_1.Queue(1);
|
|
30
|
-
(0, vitest_1.expect)(queue.peek()).toBe(1);
|
|
31
|
-
(0, vitest_1.expect)(queue.pop()).toBe(1);
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
(0, vitest_1.describe)('Duplicate', () => {
|
|
35
|
-
(0, vitest_1.test)('empty queue', () => {
|
|
36
|
-
const queue = new queue_1.Queue();
|
|
37
|
-
const duplicate = queue.duplicate();
|
|
38
|
-
(0, vitest_1.expect)(duplicate.pop()).toBe(undefined);
|
|
39
|
-
});
|
|
40
|
-
(0, vitest_1.test)('queue with elements', () => {
|
|
41
|
-
const queue = new queue_1.Queue(1);
|
|
42
|
-
queue.add(2, 3);
|
|
43
|
-
const duplicate = queue.duplicate();
|
|
44
|
-
(0, vitest_1.expect)(duplicate.pop()).toBe(1);
|
|
45
|
-
(0, vitest_1.expect)(duplicate.pop()).toBe(2);
|
|
46
|
-
(0, vitest_1.expect)(duplicate.pop()).toBe(3);
|
|
47
|
-
});
|
|
48
|
-
(0, vitest_1.test)('duplicate with deep copy', () => {
|
|
49
|
-
const queue = new queue_1.Queue({ value: 1 });
|
|
50
|
-
const duplicate = queue.duplicate(item => ({ value: item.value }));
|
|
51
|
-
(0, vitest_1.expect)(duplicate.peek()).toStrictEqual({ value: 1 });
|
|
52
|
-
(0, vitest_1.expect)(queue.peek()).toStrictEqual({ value: 1 });
|
|
53
|
-
(0, vitest_1.expect)(duplicate.peek() !== queue.peek()).toBeTruthy();
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
});
|
|
57
|
-
//# sourceMappingURL=queue.test.js.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VectorSet = void 0;
|
|
4
|
-
class VectorSet {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.values = new Map();
|
|
7
|
-
}
|
|
8
|
-
add(vector) {
|
|
9
|
-
let set = this.values.get(vector.x);
|
|
10
|
-
if (!set) {
|
|
11
|
-
set = new Set();
|
|
12
|
-
this.values.set(vector.x, set);
|
|
13
|
-
}
|
|
14
|
-
set.add(vector.y);
|
|
15
|
-
}
|
|
16
|
-
has(vector) {
|
|
17
|
-
let set = this.values.get(vector.x);
|
|
18
|
-
return set ? set.has(vector.y) : false;
|
|
19
|
-
}
|
|
20
|
-
delete(vector) {
|
|
21
|
-
let set = this.values.get(vector.x);
|
|
22
|
-
return set ? set.delete(vector.y) : false;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.VectorSet = VectorSet;
|
|
26
|
-
//# sourceMappingURL=vector-set.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeltaTime = void 0;
|
|
4
|
-
class DeltaTime {
|
|
5
|
-
static adjustMultiplier(multiplier, delta) {
|
|
6
|
-
return Math.pow(multiplier, delta);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
exports.DeltaTime = DeltaTime;
|
|
10
|
-
//# sourceMappingURL=delta-time.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Grid, Rectangle, Vector } from 'helpers-lib';
|
|
2
|
-
export declare class ClosestAvailableSpaceHelper {
|
|
3
|
-
static findByConvertingGridSpace(grid: Grid<boolean>, boundingBox: Rectangle, cellSize: number): Vector | undefined;
|
|
4
|
-
static find(availabilityGrid: Grid<boolean>, desiredPosition: Vector, objectSize: Vector): Vector | undefined;
|
|
5
|
-
private static canPlaceObject;
|
|
6
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClosestAvailableSpaceHelper = void 0;
|
|
4
|
-
const helpers_lib_1 = require("helpers-lib");
|
|
5
|
-
const vector_set_1 = require("../../data-structures/vector-set/vector-set");
|
|
6
|
-
const position_to_grid_position_converter_1 = require("../position-to-grid-position-converter");
|
|
7
|
-
class ClosestAvailableSpaceHelper {
|
|
8
|
-
static findByConvertingGridSpace(grid, boundingBox, cellSize) {
|
|
9
|
-
let objectGridSize = new helpers_lib_1.Vector(Math.ceil(boundingBox.size.x / cellSize) - 1, Math.ceil(boundingBox.size.y / cellSize) - 1);
|
|
10
|
-
let objectGridArea = position_to_grid_position_converter_1.PositionToGridPositionConverter.areaToGridArea(boundingBox, cellSize);
|
|
11
|
-
if (this.canPlaceObject(grid, objectGridArea)) {
|
|
12
|
-
return helpers_lib_1.Vector.zero;
|
|
13
|
-
}
|
|
14
|
-
let movePointInsideGrid = grid.movePositionInsideGrid(objectGridArea.topLeft);
|
|
15
|
-
let change = helpers_lib_1.Vector.fromTo(objectGridArea.topLeft, movePointInsideGrid);
|
|
16
|
-
let relativeGridSpace = this.find(grid, movePointInsideGrid, objectGridSize);
|
|
17
|
-
if (relativeGridSpace) {
|
|
18
|
-
let totalChange = relativeGridSpace.add(change);
|
|
19
|
-
let distanceToTopLeftGridCorner = helpers_lib_1.Vector.fromTo(objectGridArea.topLeft.multiplyNumber(cellSize), boundingBox.topLeft);
|
|
20
|
-
return new helpers_lib_1.Vector(totalChange.x * cellSize + ((objectGridSize.x + 1) * cellSize - boundingBox.size.x) / 2 - distanceToTopLeftGridCorner.x, totalChange.y * cellSize + ((objectGridSize.y + 1) * cellSize - boundingBox.size.y) / 2 - distanceToTopLeftGridCorner.y);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
static find(availabilityGrid, desiredPosition, objectSize) {
|
|
24
|
-
let closedPositions = new vector_set_1.VectorSet();
|
|
25
|
-
let queue = new helpers_lib_1.Queue(desiredPosition);
|
|
26
|
-
while (!queue.isEmpty) {
|
|
27
|
-
let currentPoint = queue.pop();
|
|
28
|
-
closedPositions.add(currentPoint);
|
|
29
|
-
let currentArea = new helpers_lib_1.Rectangle(currentPoint, currentPoint.add(objectSize));
|
|
30
|
-
if (this.canPlaceObject(availabilityGrid, currentArea)) {
|
|
31
|
-
return helpers_lib_1.Vector.fromTo(desiredPosition, currentPoint);
|
|
32
|
-
}
|
|
33
|
-
availabilityGrid.getNeighborPositions(currentPoint, helpers_lib_1.GridNeighborType.ORTOGONAL).forEach(nextPoint => {
|
|
34
|
-
if (!closedPositions.has(nextPoint)) {
|
|
35
|
-
queue.add(nextPoint);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
static canPlaceObject(grid, area) {
|
|
41
|
-
if (!grid.isAreaWithinBounds(area)) {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
for (let y = area.topLeft.y; y <= area.bottomRight.y; y++) {
|
|
45
|
-
for (let x = area.topLeft.x; x <= area.bottomRight.x; x++) {
|
|
46
|
-
if (!grid.get(new helpers_lib_1.Vector(x, y))) {
|
|
47
|
-
return false;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.ClosestAvailableSpaceHelper = ClosestAvailableSpaceHelper;
|
|
55
|
-
//# sourceMappingURL=closest-available-space.helper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const vitest_1 = require('vitest');
|
|
3
|
-
const closest_available_space_helper_1 = require('./closest-available-space.helper');
|
|
4
|
-
const grid_1 = require('../../data-structures/grid/grid');
|
|
5
|
-
(0, vitest_1.describe)('findClosestAvailableSpace', () => {
|
|
6
|
-
let grid;
|
|
7
|
-
(0, vitest_1.beforeEach)(() => {
|
|
8
|
-
grid = grid_1.Grid.createNew({ x: 10, y: 10 }, true);
|
|
9
|
-
});
|
|
10
|
-
(0, vitest_1.test)('should return no change vector if the location is available', () => {
|
|
11
|
-
const boundingBox = {
|
|
12
|
-
topLeft: { x: 50, y: 50 },
|
|
13
|
-
bottomRight: { x: 60, y: 60 }
|
|
14
|
-
};
|
|
15
|
-
(0, vitest_1.expect)(
|
|
16
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
17
|
-
).toEqual({ x: 0, y: 0 });
|
|
18
|
-
});
|
|
19
|
-
(0, vitest_1.test)('should support object positions outside of the world size', () => {
|
|
20
|
-
let boundingBox = {
|
|
21
|
-
topLeft: { x: -5, y: -5 },
|
|
22
|
-
bottomRight: { x: 5, y: 5 }
|
|
23
|
-
};
|
|
24
|
-
(0, vitest_1.expect)(
|
|
25
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
26
|
-
).toEqual({ x: 5, y: 5 });
|
|
27
|
-
boundingBox = {
|
|
28
|
-
topLeft: { x: -5, y: -5 },
|
|
29
|
-
bottomRight: { x: 15, y: 15 }
|
|
30
|
-
};
|
|
31
|
-
(0, vitest_1.expect)(
|
|
32
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
33
|
-
).toEqual({ x: 5, y: 5 });
|
|
34
|
-
boundingBox = {
|
|
35
|
-
topLeft: { x: 95, y: 95 },
|
|
36
|
-
bottomRight: { x: 105, y: 105 }
|
|
37
|
-
};
|
|
38
|
-
(0, vitest_1.expect)(
|
|
39
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
40
|
-
).toEqual({ x: -5, y: -5 });
|
|
41
|
-
boundingBox = {
|
|
42
|
-
topLeft: { x: 85, y: 85 },
|
|
43
|
-
bottomRight: { x: 105, y: 105 }
|
|
44
|
-
};
|
|
45
|
-
(0, vitest_1.expect)(
|
|
46
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
47
|
-
).toEqual({ x: -5, y: -5 });
|
|
48
|
-
});
|
|
49
|
-
(0, vitest_1.test)('should find the no change vector space next to an existing object', () => {
|
|
50
|
-
grid.setArea({ topLeft: { x: 0, y: 0 }, bottomRight: { x: 0, y: 0 } }, false);
|
|
51
|
-
const boundingBox = {
|
|
52
|
-
topLeft: { x: 10, y: 10 },
|
|
53
|
-
bottomRight: { x: 20, y: 20 }
|
|
54
|
-
};
|
|
55
|
-
(0, vitest_1.expect)(
|
|
56
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
57
|
-
).toEqual({ x: 0, y: 0 });
|
|
58
|
-
});
|
|
59
|
-
(0, vitest_1.test)('should find the closest available space if trying to spawn in occupied space', () => {
|
|
60
|
-
grid.setArea({ topLeft: { x: 0, y: 0 }, bottomRight: { x: 1, y: 1 } }, false);
|
|
61
|
-
const boundingBox = {
|
|
62
|
-
topLeft: { x: 5, y: 5 },
|
|
63
|
-
bottomRight: { x: 15, y: 15 }
|
|
64
|
-
};
|
|
65
|
-
(0, vitest_1.expect)(
|
|
66
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
67
|
-
).toEqual({ x: -5, y: 15 });
|
|
68
|
-
});
|
|
69
|
-
(0, vitest_1.test)('should find the closest available space if trying to spawn in crowded space', () => {
|
|
70
|
-
// Crowded space
|
|
71
|
-
// 0 1 2 3 4 5 6 7 8 9
|
|
72
|
-
// 0 □ 1 1 1 2 2 □ □ □ □
|
|
73
|
-
// 1 □ 1 1 1 2 2 □ □ □ □
|
|
74
|
-
// 2 □ 1 1 1 2 2 □ □ □ □
|
|
75
|
-
// 3 3 3 3 ■ ■ ■ □ □ □ □
|
|
76
|
-
// 4 □ □ □ ■ ■ ■ □ □ □ □
|
|
77
|
-
// 5 □ □ 4 ■ ■ ■ 6 6 6 □
|
|
78
|
-
// 6 □ □ 4 5 5 5 □ □ □ □
|
|
79
|
-
grid.setArea({ topLeft: { x: 1, y: 0 }, bottomRight: { x: 3, y: 2 } }, false); // 1
|
|
80
|
-
grid.setArea({ topLeft: { x: 4, y: 0 }, bottomRight: { x: 5, y: 2 } }, false); // 2
|
|
81
|
-
grid.setArea({ topLeft: { x: 0, y: 3 }, bottomRight: { x: 1, y: 3 } }, false); // 3
|
|
82
|
-
grid.setArea({ topLeft: { x: 2, y: 5 }, bottomRight: { x: 2, y: 6 } }, false); // 4
|
|
83
|
-
grid.setArea({ topLeft: { x: 3, y: 6 }, bottomRight: { x: 5, y: 6 } }, false); // 5
|
|
84
|
-
grid.setArea({ topLeft: { x: 6, y: 5 }, bottomRight: { x: 8, y: 5 } }, false); // 6
|
|
85
|
-
const boundingBox = {
|
|
86
|
-
topLeft: { x: 10, y: 20 },
|
|
87
|
-
bottomRight: { x: 40, y: 50 }
|
|
88
|
-
};
|
|
89
|
-
(0, vitest_1.expect)(
|
|
90
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
91
|
-
).toEqual({ x: 20, y: 10 });
|
|
92
|
-
});
|
|
93
|
-
(0, vitest_1.test)('should not fooled by initial position occupying more space in grid and find narrower gap 1', () => {
|
|
94
|
-
grid.setArea({ topLeft: { x: 1, y: 0 }, bottomRight: { x: 4, y: 3 } }, false);
|
|
95
|
-
const boundingBox = {
|
|
96
|
-
topLeft: { x: 4, y: 2 },
|
|
97
|
-
bottomRight: { x: 12, y: 20 }
|
|
98
|
-
};
|
|
99
|
-
(0, vitest_1.expect)(
|
|
100
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
101
|
-
).toEqual({ x: -3, y: -1 });
|
|
102
|
-
});
|
|
103
|
-
(0, vitest_1.test)('should not fooled by initial position occupying more space in grid and find narrower gap 2', () => {
|
|
104
|
-
grid.setArea({ topLeft: { x: 1, y: 0 }, bottomRight: { x: 4, y: 3 } }, false);
|
|
105
|
-
const boundingBox = {
|
|
106
|
-
topLeft: { x: -6, y: -8 },
|
|
107
|
-
bottomRight: { x: 2, y: 10 }
|
|
108
|
-
};
|
|
109
|
-
(0, vitest_1.expect)(
|
|
110
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
111
|
-
).toEqual({ x: 7, y: 9 });
|
|
112
|
-
});
|
|
113
|
-
(0, vitest_1.test)('should return undefined if there is no available space', () => {
|
|
114
|
-
grid.setArea({ topLeft: { x: 0, y: 0 }, bottomRight: { x: 9, y: 9 } }, false);
|
|
115
|
-
const boundingBox = {
|
|
116
|
-
topLeft: { x: 0, y: 0 },
|
|
117
|
-
bottomRight: { x: 10, y: 10 }
|
|
118
|
-
};
|
|
119
|
-
(0, vitest_1.expect)(
|
|
120
|
-
closest_available_space_helper_1.ClosestAvailableSpaceHelper.findByConvertingGridSpace(grid, boundingBox, 10)
|
|
121
|
-
).toBeUndefined();
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
//# sourceMappingURL=closest-available-space.helper.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|