Skip to content

Commit

Permalink
Merge branch 'master' into feature/#242-save-load-state
Browse files Browse the repository at this point in the history
  • Loading branch information
Annoraaq committed Oct 22, 2023
2 parents f956f25 + e4a6397 commit 679bdef
Show file tree
Hide file tree
Showing 365 changed files with 6,638 additions and 3,831 deletions.
18 changes: 18 additions & 0 deletions createPackageJsons.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const fs = require('fs');

fs.writeFileSync("dist/mjs/package.json",
'{"type": "module"}',
{
encoding: "utf8",
flag: "a+",
mode: 0o666
});

fs.writeFileSync("dist/cjs/package.json",
'{"type": "commonjs"}',
{
encoding: "utf8",
flag: "a+",
mode: 0o666
});

21 changes: 0 additions & 21 deletions dist/Direction/Direction.d.ts

This file was deleted.

10 changes: 0 additions & 10 deletions dist/FollowMovement/FollowMovement.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions dist/GlobalConfig/GlobalConfig.d.ts

This file was deleted.

51 changes: 0 additions & 51 deletions dist/GridCharacter/CharacterFilter/CharacterFilter.d.ts

This file was deleted.

This file was deleted.

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

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions 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.

18 changes: 0 additions & 18 deletions dist/GridTilemap/CharBlockCache/CharBlockCache.d.ts

This file was deleted.

50 changes: 0 additions & 50 deletions dist/GridTilemap/GridTilemap.d.ts

This file was deleted.

18 changes: 0 additions & 18 deletions dist/Movement/FollowMovement/FollowMovement.d.ts

This file was deleted.

12 changes: 0 additions & 12 deletions dist/Pathfinding/Bfs/Bfs.d.ts

This file was deleted.

12 changes: 0 additions & 12 deletions dist/Pathfinding/BidirectionalSearch/BidirectionalSearch.d.ts

This file was deleted.

12 changes: 0 additions & 12 deletions dist/Pathfinding/ShortestPathAlgorithm.d.ts

This file was deleted.

14 changes: 0 additions & 14 deletions dist/RandomMovement/RandomMovement.d.ts

This file was deleted.

19 changes: 0 additions & 19 deletions dist/TargetMovement/TargetMovement.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions dist/Utils/DistanceUtilsFactory/DistanceUtilsFactory.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions dist/Utils/LayerPositionUtils/LayerPositionUtils.d.ts

This file was deleted.

28 changes: 0 additions & 28 deletions dist/Utils/MockFactory/MockFactory.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions dist/cjs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "commonjs"}{"type": "commonjs"}{"type": "commonjs"}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Position } from "../GridEngine";
import { Vector2 } from "../Utils/Vector2/Vector2";
import { Position } from "../GridEngine.js";
import { Vector2 } from "../Utils/Vector2/Vector2.js";
export declare enum Direction {
NONE = "none",
LEFT = "left",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Direction } from "./../../Direction/Direction";
import { WalkingAnimationMapping } from "../../GridEngine";
import { Direction } from "./../../Direction/Direction.js";
import { WalkingAnimationMapping } from "../../GridEngine.js";
import { Observable } from "rxjs";
export type CharacterIndex = number;
/** Frame numbers for one movement direction */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GridCharacter } from "../GridCharacter";
import { GridCharacter } from "../GridCharacter.js";
/**
* Options for filtering characters.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { LayerVecPos } from "./../Pathfinding/ShortestPathAlgorithm";
import { NumberOfDirections } from "./../Direction/Direction";
import { Direction } from "../Direction/Direction";
import { LayerVecPos } from "./../Pathfinding/ShortestPathAlgorithm.js";
import { NumberOfDirections } from "./../Direction/Direction.js";
import { Direction } from "../Direction/Direction.js";
import { Subject } from "rxjs";
import { CharLayer, Position } from "../GridEngine";
import { Movement } from "../Movement/Movement";
import { Vector2 } from "../Utils/Vector2/Vector2";
import { CharLayer, Position } from "../GridEngine.js";
import { Movement } from "../Movement/Movement.js";
import { Vector2 } from "../Utils/Vector2/Vector2.js";
import * as Phaser from "phaser";
import { GridTilemap } from "../GridTilemap/GridTilemap";
import { GridTilemap } from "../GridTilemap/GridTilemap.js";
export declare const MAX_MOVEMENT_PROGRESS = 1000;
export type CharId = string;
export type GameObject = Phaser.GameObjects.Container | Phaser.GameObjects.Sprite;
Expand Down
File renamed without changes.
Loading

0 comments on commit 679bdef

Please sign in to comment.