Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 4, 2024
1 parent ed7cc01 commit 2f58f8d
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 19 deletions.
2 changes: 1 addition & 1 deletion dist/GridEngine.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/GridEngine.min.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/GridEngine.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion dist/cjs/src/GridEngine.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ import { GridCharacterState } from "./GridCharacter/GridCharacterState.js";
import { GridEngineStatePhaser } from "./GridEnginePhaser/GridEngineStatePhaser.js";
import { IsPositionAllowedFn, PathfindingOptions } from "./Pathfinding/PathfindingOptions.js";
import { CharLayer, LayerPosition, Position } from "./Position.js";
export { ArrayTilemap, ArrayTilemapInputLayer, CharacterDataHeadless, CharacterFilteringOptions, CharacterShift, CharacterShiftAction, CharLayer, CollisionConfig, CollisionStrategy, Direction, Finished, FollowOptions, FrameRow, GridCharacterState, GridEngineConfigHeadless, GridEngineHeadless, GridEngineState, IGridEngine, IsPositionAllowedFn, LayerPosition, MovementInfo, MoveToConfig, MoveToInfo, MoveToResult, NoPathFoundStrategy, NumberOfDirections, Orientation, PathBlockedStrategy, PathfindingOptions, PathfindingResult, Position, PositionChange, PhaserTile, PhaserTileLayer, PhaserTilemap, QueueMovementConfig, QueueMovementEntry, QueueMovementFinished, QueueMovementResult, QueuedPathBlockedStrategy, ShortestPathAlgorithmType, Tile, TiledProject, TiledTilemap, TiledLayer, TiledTile, TileLayer, Tilemap, TileSizePerSecond, directionFromPos, };
import { Concrete } from "./Utils/TypeUtils.js";
import { GridCharacterStatePhaser } from "./GridEnginePhaser/GridCharacterStatePhaser.js";
import { RawTiledLayer, RawTiledTileset, RawTiledTilesetTile, RawTiledTilesetTileProp } from "./GridTilemap/TiledTilemap/TiledMap.js";
export { ArrayTilemap, ArrayTilemapInputLayer, CharacterDataHeadless, CharacterFilteringOptions, CharacterShift, CharacterShiftAction, CharLayer, CollisionConfig, CollisionStrategy, Concrete, Direction, Finished, FollowOptions, FrameRow, GridCharacterState, GridCharacterStatePhaser, GridEngineConfigHeadless, GridEngineHeadless, GridEngineState, GridEngineStatePhaser, IGridEngine, IsPositionAllowedFn, LayerPosition, MovementInfo, MoveToConfig, MoveToInfo, MoveToResult, NoPathFoundStrategy, NumberOfDirections, Orientation, PathBlockedStrategy, PathfindingOptions, PathfindingResult, Position, PositionChange, PhaserTile, PhaserTileLayer, PhaserTilemap, QueueMovementConfig, QueueMovementEntry, QueueMovementFinished, QueueMovementResult, QueuedPathBlockedStrategy, RawTiledLayer, RawTiledTileset, RawTiledTilesetTile, RawTiledTilesetTileProp, ShortestPathAlgorithmType, Tile, TiledProject, TiledTilemap, TiledLayer, TiledTile, TileLayer, Tilemap, TileSizePerSecond, directionFromPos, };
/**
* Configuration object for initializing GridEngine.
*
Expand Down
12 changes: 6 additions & 6 deletions dist/cjs/src/Movement/TargetMovement/TargetMovement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export interface MoveToConfig {
*/
pathBlockedStrategy?: PathBlockedStrategy;
/**
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
* Only relevant if {@link noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
*
* It sets the time in milliseconds that the pathfinding algorithm will wait
* until the next retry.
*/
noPathFoundRetryBackoffMs?: number;
/**
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
* Only relevant if {@link noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
*
* It sets the maximum amount of retries before giving up.
*/
Expand Down Expand Up @@ -101,16 +101,16 @@ export interface MoveToConfig {
*/
considerCosts?: boolean;
/**
* Only relevant if {@link MoveToConfig.pathBlockedStrategy} is set to {@link
* PathBlockedStrategy.ALTERNATIVE_TARGETS}.
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link
* NoPathFoundStrategy.ALTERNATIVE_TARGETS}.
*
* It provides a list of alternative targets that are considered if the main
* target is not reachable. That list is processed in order.
*/
alternativeTargets?: LayerPosition[];
/**
* Only relevant if {@link MoveToConfig.pathBlockedStrategy} is set to {@link
* PathBlockedStrategy.ALTERNATIVE_TARGETS}.
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link
* NoPathFoundStrategy.ALTERNATIVE_TARGETS}.
*
* In case all these targets are blocked this is the fallback strategy.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/src/Pathfinding/NoPathFoundStrategy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export declare enum NoPathFoundStrategy {
/**
* Tries each of {@link MoveToConfig.alternativeTargets}. If there does not
* exist a path to any of these targets, {@link
* MoveToConfig.noPathFoundAlternativeTargetsStrategy} determines the fallback
* MoveToConfig.noPathFoundAlternativeTargetsFallbackStrategy} determines the fallback
* strategy.
*/
ALTERNATIVE_TARGETS = "ALTERNATIVE_TARGETS"
Expand Down
5 changes: 4 additions & 1 deletion dist/mjs/src/GridEngine.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ import { GridCharacterState } from "./GridCharacter/GridCharacterState.js";
import { GridEngineStatePhaser } from "./GridEnginePhaser/GridEngineStatePhaser.js";
import { IsPositionAllowedFn, PathfindingOptions } from "./Pathfinding/PathfindingOptions.js";
import { CharLayer, LayerPosition, Position } from "./Position.js";
export { ArrayTilemap, ArrayTilemapInputLayer, CharacterDataHeadless, CharacterFilteringOptions, CharacterShift, CharacterShiftAction, CharLayer, CollisionConfig, CollisionStrategy, Direction, Finished, FollowOptions, FrameRow, GridCharacterState, GridEngineConfigHeadless, GridEngineHeadless, GridEngineState, IGridEngine, IsPositionAllowedFn, LayerPosition, MovementInfo, MoveToConfig, MoveToInfo, MoveToResult, NoPathFoundStrategy, NumberOfDirections, Orientation, PathBlockedStrategy, PathfindingOptions, PathfindingResult, Position, PositionChange, PhaserTile, PhaserTileLayer, PhaserTilemap, QueueMovementConfig, QueueMovementEntry, QueueMovementFinished, QueueMovementResult, QueuedPathBlockedStrategy, ShortestPathAlgorithmType, Tile, TiledProject, TiledTilemap, TiledLayer, TiledTile, TileLayer, Tilemap, TileSizePerSecond, directionFromPos, };
import { Concrete } from "./Utils/TypeUtils.js";
import { GridCharacterStatePhaser } from "./GridEnginePhaser/GridCharacterStatePhaser.js";
import { RawTiledLayer, RawTiledTileset, RawTiledTilesetTile, RawTiledTilesetTileProp } from "./GridTilemap/TiledTilemap/TiledMap.js";
export { ArrayTilemap, ArrayTilemapInputLayer, CharacterDataHeadless, CharacterFilteringOptions, CharacterShift, CharacterShiftAction, CharLayer, CollisionConfig, CollisionStrategy, Concrete, Direction, Finished, FollowOptions, FrameRow, GridCharacterState, GridCharacterStatePhaser, GridEngineConfigHeadless, GridEngineHeadless, GridEngineState, GridEngineStatePhaser, IGridEngine, IsPositionAllowedFn, LayerPosition, MovementInfo, MoveToConfig, MoveToInfo, MoveToResult, NoPathFoundStrategy, NumberOfDirections, Orientation, PathBlockedStrategy, PathfindingOptions, PathfindingResult, Position, PositionChange, PhaserTile, PhaserTileLayer, PhaserTilemap, QueueMovementConfig, QueueMovementEntry, QueueMovementFinished, QueueMovementResult, QueuedPathBlockedStrategy, RawTiledLayer, RawTiledTileset, RawTiledTilesetTile, RawTiledTilesetTileProp, ShortestPathAlgorithmType, Tile, TiledProject, TiledTilemap, TiledLayer, TiledTile, TileLayer, Tilemap, TileSizePerSecond, directionFromPos, };
/**
* Configuration object for initializing GridEngine.
*
Expand Down
12 changes: 6 additions & 6 deletions dist/mjs/src/Movement/TargetMovement/TargetMovement.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export interface MoveToConfig {
*/
pathBlockedStrategy?: PathBlockedStrategy;
/**
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
* Only relevant if {@link noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
*
* It sets the time in milliseconds that the pathfinding algorithm will wait
* until the next retry.
*/
noPathFoundRetryBackoffMs?: number;
/**
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
* Only relevant if {@link noPathFoundStrategy} is set to {@link NoPathFoundStrategy.RETRY}.
*
* It sets the maximum amount of retries before giving up.
*/
Expand Down Expand Up @@ -101,16 +101,16 @@ export interface MoveToConfig {
*/
considerCosts?: boolean;
/**
* Only relevant if {@link MoveToConfig.pathBlockedStrategy} is set to {@link
* PathBlockedStrategy.ALTERNATIVE_TARGETS}.
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link
* NoPathFoundStrategy.ALTERNATIVE_TARGETS}.
*
* It provides a list of alternative targets that are considered if the main
* target is not reachable. That list is processed in order.
*/
alternativeTargets?: LayerPosition[];
/**
* Only relevant if {@link MoveToConfig.pathBlockedStrategy} is set to {@link
* PathBlockedStrategy.ALTERNATIVE_TARGETS}.
* Only relevant if {@link MoveToConfig.noPathFoundStrategy} is set to {@link
* NoPathFoundStrategy.ALTERNATIVE_TARGETS}.
*
* In case all these targets are blocked this is the fallback strategy.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/mjs/src/Pathfinding/NoPathFoundStrategy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export declare enum NoPathFoundStrategy {
/**
* Tries each of {@link MoveToConfig.alternativeTargets}. If there does not
* exist a path to any of these targets, {@link
* MoveToConfig.noPathFoundAlternativeTargetsStrategy} determines the fallback
* MoveToConfig.noPathFoundAlternativeTargetsFallbackStrategy} determines the fallback
* strategy.
*/
ALTERNATIVE_TARGETS = "ALTERNATIVE_TARGETS"
Expand Down

0 comments on commit 2f58f8d

Please sign in to comment.