@zakkster/lite-tools 2.0.8 → 2.0.9

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/LiteEngine.d.ts CHANGED
@@ -115,7 +115,7 @@ export { InputPoller } from '@zakkster/lite-gamepad';
115
115
  export { CinematicCamera } from '@zakkster/lite-camera';
116
116
  export { SpatialHash } from '@zakkster/lite-spatial';
117
117
  export { testPolygonPolygon, translatePoly, rotatePoly } from '@zakkster/lite-sat';
118
- export { PathFinder } from '@zakkster/lite-path';
118
+ export { Pathfinder } from '@zakkster/lite-path';
119
119
  export { ShadowCaster } from '@zakkster/lite-shadow';
120
120
  export { WFC } from '@zakkster/lite-wfc';
121
121
  export { AudioPool } from '@zakkster/lite-audio-pool';
package/LiteEngine.js CHANGED
@@ -116,7 +116,7 @@ export {InputPoller} from '@zakkster/lite-gamepad';
116
116
  export {CinematicCamera} from '@zakkster/lite-camera';
117
117
  export {SpatialHash} from '@zakkster/lite-spatial';
118
118
  export {testPolygonPolygon, translatePoly, rotatePoly} from '@zakkster/lite-sat';
119
- export {PathFinder} from '@zakkster/lite-path';
119
+ export {Pathfinder} from '@zakkster/lite-path';
120
120
  export {ShadowCaster} from '@zakkster/lite-shadow';
121
121
  export {WFC} from '@zakkster/lite-wfc';
122
122
  export {AudioPool} from '@zakkster/lite-audio-pool';
@@ -174,7 +174,7 @@ import {BitmapFont} from '@zakkster/lite-bmfont';
174
174
  import {InputPoller} from '@zakkster/lite-gamepad';
175
175
  import {CinematicCamera} from '@zakkster/lite-camera';
176
176
  import {SpatialHash} from '@zakkster/lite-spatial';
177
- import {PathFinder} from '@zakkster/lite-path';
177
+ import {Pathfinder} from '@zakkster/lite-path';
178
178
  import {WFC} from '@zakkster/lite-wfc';
179
179
  import {AudioPool} from '@zakkster/lite-audio-pool';
180
180
  import {FireworksEngine} from '@zakkster/lite-fireworks';
@@ -1092,7 +1092,7 @@ export const Recipes = {
1092
1092
  }
1093
1093
 
1094
1094
  function findPath(sx, sy, ex, ey) {
1095
- const finder = new PathFinder(width, height, (x, y) => isWalkable(x, y));
1095
+ const finder = new Pathfinder(width, height, (x, y) => isWalkable(x, y));
1096
1096
  return finder.find(sx, sy, ex, ey);
1097
1097
  }
1098
1098
 
package/README.md CHANGED
@@ -467,7 +467,7 @@ dungeon.spatial.insert(enemy, enemy.x, enemy.y, 8, 8);
467
467
  const nearby = dungeon.spatial.query(player.x - 64, player.y - 64, 128, 128);
468
468
  ```
469
469
 
470
- **Composes:** `Random` + `SpatialHash` + `PathFinder`
470
+ **Composes:** `Random` + `SpatialHash` + `Pathfinder`
471
471
 
472
472
  </details>
473
473
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zakkster/lite-tools",
3
3
  "author": "Zahary Shinikchiev <shinikchiev@yahoo.com>",
4
- "version": "2.0.8",
4
+ "version": "2.0.9",
5
5
  "sideEffects": false,
6
6
  "description": "The standard library for high-performance web presentation — 45+ micro-libraries, 24 recipes, zero-GC, deterministic, tree-shakeable.",
7
7
  "type": "module",