@rpgjs/common 3.1.0 → 3.2.0

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/lib/index.d.ts CHANGED
@@ -1,21 +1,21 @@
1
- import { Direction, LiteralDirection, RpgCommonPlayer, PlayerType } from './Player';
2
- import { RpgCommonEvent } from './Event';
3
- import { RpgCommonMap } from './Map';
4
- import { RpgCommonGame, GameSide } from './Game';
5
- import { EventEmitter } from './EventEmitter';
6
- import { PrebuiltGui } from './gui/PrebuiltGui';
7
- import Utils from './Utils';
8
- import { RpgPlugin, Plugin, HookServer, HookClient } from './Plugin';
9
- import * as TransportIo from './transports/io';
10
- import { Input, Control } from './Input';
11
- import { Hit } from './Hit';
12
- import { Scheduler } from './Scheduler';
13
- import { RpgModule, loadModules, ModuleType } from './Module';
14
- import * as MockIo from './transports/io';
15
- import * as Logger from './Logger';
16
- import { RpgShape, ShapePositioning } from './Shape';
17
- import { VirtualGrid } from './VirtualGrid';
18
- import { RpgCommonWorldMaps } from './WorldMaps';
19
- import { SocketMethods, SocketEvents } from './SocketEvents';
20
- import { CameraOptions } from './types/Player';
21
- export { RpgCommonPlayer, RpgCommonEvent, RpgCommonMap, RpgCommonGame, EventEmitter, Utils, TransportIo, Direction, LiteralDirection, PrebuiltGui, PlayerType, Input, Control, MockIo, RpgPlugin, Plugin, HookServer, HookClient, Scheduler, Hit, RpgModule, loadModules, Logger, ModuleType, RpgShape, ShapePositioning, VirtualGrid, GameSide, RpgCommonWorldMaps, SocketMethods, SocketEvents, CameraOptions };
1
+ export { LiteralDirection, RpgCommonPlayer } from './Player';
2
+ export { AbstractObject } from './AbstractObject';
3
+ export { RpgCommonEvent } from './Event';
4
+ export { RpgCommonMap } from './Map';
5
+ export { RpgCommonGame, GameSide } from './Game';
6
+ export { EventEmitter } from './EventEmitter';
7
+ export { PrebuiltGui } from './gui/PrebuiltGui';
8
+ export * as Utils from './Utils';
9
+ export { RpgPlugin, Plugin, HookServer, HookClient } from './Plugin';
10
+ export * as TransportIo from './transports/io';
11
+ export { Input, Control } from '@rpgjs/types';
12
+ export { Hit } from './Hit';
13
+ export { Scheduler } from './Scheduler';
14
+ export { RpgModule, loadModules, ModuleType } from './Module';
15
+ export * as MockIo from './transports/io';
16
+ export * as Logger from './Logger';
17
+ export { RpgShape, ShapePositioning } from './Shape';
18
+ export { VirtualGrid } from './VirtualGrid';
19
+ export { RpgCommonWorldMaps } from './WorldMaps';
20
+ export { Vector2d } from './Vector2d';
21
+ export { Direction } from '@rpgjs/types';
package/lib/index.js CHANGED
@@ -18,57 +18,51 @@ var __importStar = (this && this.__importStar) || function (mod) {
18
18
  __setModuleDefault(result, mod);
19
19
  return result;
20
20
  };
21
- var __importDefault = (this && this.__importDefault) || function (mod) {
22
- return (mod && mod.__esModule) ? mod : { "default": mod };
23
- };
24
21
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.SocketEvents = exports.SocketMethods = exports.RpgCommonWorldMaps = exports.GameSide = exports.VirtualGrid = exports.ShapePositioning = exports.RpgShape = exports.Logger = exports.loadModules = exports.RpgModule = exports.Hit = exports.Scheduler = exports.HookClient = exports.HookServer = exports.RpgPlugin = exports.MockIo = exports.Control = exports.Input = exports.PlayerType = exports.PrebuiltGui = exports.LiteralDirection = exports.Direction = exports.TransportIo = exports.Utils = exports.EventEmitter = exports.RpgCommonGame = exports.RpgCommonMap = exports.RpgCommonEvent = exports.RpgCommonPlayer = void 0;
26
- const Player_1 = require("./Player");
27
- Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return Player_1.Direction; } });
22
+ exports.Direction = exports.Vector2d = exports.RpgCommonWorldMaps = exports.VirtualGrid = exports.ShapePositioning = exports.RpgShape = exports.Logger = exports.MockIo = exports.loadModules = exports.RpgModule = exports.Scheduler = exports.Hit = exports.Control = exports.Input = exports.TransportIo = exports.HookClient = exports.HookServer = exports.RpgPlugin = exports.Utils = exports.PrebuiltGui = exports.EventEmitter = exports.GameSide = exports.RpgCommonGame = exports.RpgCommonMap = exports.RpgCommonEvent = exports.AbstractObject = exports.RpgCommonPlayer = exports.LiteralDirection = void 0;
23
+ var Player_1 = require("./Player");
28
24
  Object.defineProperty(exports, "LiteralDirection", { enumerable: true, get: function () { return Player_1.LiteralDirection; } });
29
25
  Object.defineProperty(exports, "RpgCommonPlayer", { enumerable: true, get: function () { return Player_1.RpgCommonPlayer; } });
30
- Object.defineProperty(exports, "PlayerType", { enumerable: true, get: function () { return Player_1.PlayerType; } });
31
- const Event_1 = require("./Event");
26
+ var AbstractObject_1 = require("./AbstractObject");
27
+ Object.defineProperty(exports, "AbstractObject", { enumerable: true, get: function () { return AbstractObject_1.AbstractObject; } });
28
+ var Event_1 = require("./Event");
32
29
  Object.defineProperty(exports, "RpgCommonEvent", { enumerable: true, get: function () { return Event_1.RpgCommonEvent; } });
33
- const Map_1 = require("./Map");
30
+ var Map_1 = require("./Map");
34
31
  Object.defineProperty(exports, "RpgCommonMap", { enumerable: true, get: function () { return Map_1.RpgCommonMap; } });
35
- const Game_1 = require("./Game");
32
+ var Game_1 = require("./Game");
36
33
  Object.defineProperty(exports, "RpgCommonGame", { enumerable: true, get: function () { return Game_1.RpgCommonGame; } });
37
34
  Object.defineProperty(exports, "GameSide", { enumerable: true, get: function () { return Game_1.GameSide; } });
38
- const EventEmitter_1 = require("./EventEmitter");
35
+ var EventEmitter_1 = require("./EventEmitter");
39
36
  Object.defineProperty(exports, "EventEmitter", { enumerable: true, get: function () { return EventEmitter_1.EventEmitter; } });
40
- const PrebuiltGui_1 = require("./gui/PrebuiltGui");
37
+ var PrebuiltGui_1 = require("./gui/PrebuiltGui");
41
38
  Object.defineProperty(exports, "PrebuiltGui", { enumerable: true, get: function () { return PrebuiltGui_1.PrebuiltGui; } });
42
- const Utils_1 = __importDefault(require("./Utils"));
43
- exports.Utils = Utils_1.default;
44
- const Plugin_1 = require("./Plugin");
39
+ exports.Utils = __importStar(require("./Utils"));
40
+ var Plugin_1 = require("./Plugin");
45
41
  Object.defineProperty(exports, "RpgPlugin", { enumerable: true, get: function () { return Plugin_1.RpgPlugin; } });
46
42
  Object.defineProperty(exports, "HookServer", { enumerable: true, get: function () { return Plugin_1.HookServer; } });
47
43
  Object.defineProperty(exports, "HookClient", { enumerable: true, get: function () { return Plugin_1.HookClient; } });
48
- const TransportIo = __importStar(require("./transports/io"));
49
- exports.TransportIo = TransportIo;
50
- const Input_1 = require("./Input");
51
- Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return Input_1.Input; } });
52
- Object.defineProperty(exports, "Control", { enumerable: true, get: function () { return Input_1.Control; } });
53
- const Hit_1 = require("./Hit");
44
+ exports.TransportIo = __importStar(require("./transports/io"));
45
+ var types_1 = require("@rpgjs/types");
46
+ Object.defineProperty(exports, "Input", { enumerable: true, get: function () { return types_1.Input; } });
47
+ Object.defineProperty(exports, "Control", { enumerable: true, get: function () { return types_1.Control; } });
48
+ var Hit_1 = require("./Hit");
54
49
  Object.defineProperty(exports, "Hit", { enumerable: true, get: function () { return Hit_1.Hit; } });
55
- const Scheduler_1 = require("./Scheduler");
50
+ var Scheduler_1 = require("./Scheduler");
56
51
  Object.defineProperty(exports, "Scheduler", { enumerable: true, get: function () { return Scheduler_1.Scheduler; } });
57
- const Module_1 = require("./Module");
52
+ var Module_1 = require("./Module");
58
53
  Object.defineProperty(exports, "RpgModule", { enumerable: true, get: function () { return Module_1.RpgModule; } });
59
54
  Object.defineProperty(exports, "loadModules", { enumerable: true, get: function () { return Module_1.loadModules; } });
60
- const MockIo = __importStar(require("./transports/io"));
61
- exports.MockIo = MockIo;
62
- const Logger = __importStar(require("./Logger"));
63
- exports.Logger = Logger;
64
- const Shape_1 = require("./Shape");
55
+ exports.MockIo = __importStar(require("./transports/io"));
56
+ exports.Logger = __importStar(require("./Logger"));
57
+ var Shape_1 = require("./Shape");
65
58
  Object.defineProperty(exports, "RpgShape", { enumerable: true, get: function () { return Shape_1.RpgShape; } });
66
59
  Object.defineProperty(exports, "ShapePositioning", { enumerable: true, get: function () { return Shape_1.ShapePositioning; } });
67
- const VirtualGrid_1 = require("./VirtualGrid");
60
+ var VirtualGrid_1 = require("./VirtualGrid");
68
61
  Object.defineProperty(exports, "VirtualGrid", { enumerable: true, get: function () { return VirtualGrid_1.VirtualGrid; } });
69
- const WorldMaps_1 = require("./WorldMaps");
62
+ var WorldMaps_1 = require("./WorldMaps");
70
63
  Object.defineProperty(exports, "RpgCommonWorldMaps", { enumerable: true, get: function () { return WorldMaps_1.RpgCommonWorldMaps; } });
71
- const SocketEvents_1 = require("./SocketEvents");
72
- Object.defineProperty(exports, "SocketMethods", { enumerable: true, get: function () { return SocketEvents_1.SocketMethods; } });
73
- Object.defineProperty(exports, "SocketEvents", { enumerable: true, get: function () { return SocketEvents_1.SocketEvents; } });
64
+ var Vector2d_1 = require("./Vector2d");
65
+ Object.defineProperty(exports, "Vector2d", { enumerable: true, get: function () { return Vector2d_1.Vector2d; } });
66
+ var types_2 = require("@rpgjs/types");
67
+ Object.defineProperty(exports, "Direction", { enumerable: true, get: function () { return types_2.Direction; } });
74
68
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAAmF;AA6B/E,0FA7BK,kBAAS,OA6BL;AACT,iGA9BgB,yBAAgB,OA8BhB;AARhB,gGAtBkC,wBAAe,OAsBlC;AAUf,2FAhCmD,mBAAU,OAgCnD;AA/Bd,mCAAwC;AAsBpC,+FAtBK,sBAAc,OAsBL;AArBlB,+BAAoC;AAsBhC,6FAtBK,kBAAY,OAsBL;AArBhB,iCAAgD;AAsB5C,8FAtBK,oBAAa,OAsBL;AAwBb,yFA9CoB,eAAQ,OA8CpB;AA7CZ,iDAA6C;AAsBzC,6FAtBK,2BAAY,OAsBL;AArBhB,mDAA+C;AA0B3C,4FA1BK,yBAAW,OA0BL;AAzBf,oDAA2B;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AAA;AAAE,oGAAA,UAAU,OAAA;AAClD,+DAA8C;AAC9C,sCAA6C;AAApC,8FAAA,KAAK,OAAA;AAAE,gGAAA,OAAO,OAAA;AACvB,6BAA2B;AAAlB,0FAAA,GAAG,OAAA;AACZ,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,mCAA6D;AAApD,mGAAA,SAAS,OAAA;AAAE,qGAAA,WAAW,OAAA;AAC/B,0DAAyC;AACzC,mDAAmC;AACnC,iCAAoD;AAA3C,iGAAA,QAAQ,OAAA;AAAE,yGAAA,gBAAgB,OAAA;AACnC,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,yCAAgD;AAAvC,+GAAA,kBAAkB,OAAA;AAC3B,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,sCAAwC;AAA/B,kGAAA,SAAS,OAAA"}
@@ -51,7 +51,7 @@ function movePlayers(data) {
51
51
  const ret = {};
52
52
  for (let object of data) {
53
53
  gameEngine.world.addObject(object.id, object);
54
- const player = yield gameEngine.processInput(object.id);
54
+ const { player } = yield gameEngine.processInput(object.id);
55
55
  if (player) {
56
56
  ret[player.id] = {
57
57
  position: {
@@ -1 +1 @@
1
- {"version":3,"file":"move.js","sourceRoot":"","sources":["../../src/workers/move.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,4DAAmC;AACnC,gCAAqC;AACrC,kCAAiD;AACjD,sCAA2C;AAE3C,MAAM,OAAO,GAAQ,EAAE,CAAA;AACvB,IAAI,YAAY,GAAQ,EAAE,CAAA;AAC1B,MAAM,UAAU,GAAG,IAAI,oBAAa,CAAC,eAAQ,CAAC,MAAM,CAAC,CAAA;AACrD,UAAU,CAAC,KAAK,CAAC;IACf,SAAS,CAAC,QAAQ;QAChB,OAAO,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC1B,CAAC;IACD,SAAS,CAAC,QAAQ,EAAE,IAAI;QACtB,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,CAAC,wBAAe,EAA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",
6
6
  "types": "./lib/index.d.ts",
@@ -18,12 +18,14 @@
18
18
  "author": "Samuel Ronce",
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@rpgjs/tiled": "^3.1.0",
21
+ "@rpgjs/tiled": "^3.2.0",
22
+ "@rpgjs/types": "^3.2.0",
22
23
  "rbush": "^3.0.1",
24
+ "rxjs": "^7.5.7",
23
25
  "sat": "^0.9.0",
24
26
  "workerpool": "^6.2.0"
25
27
  },
26
- "gitHead": "5cb678ae427df465799b75d3d9ae4ef7efa4c4b7",
28
+ "gitHead": "90bd3ad9ca9cbd823165c39c6c9b2c97399c7b10",
27
29
  "devDependencies": {
28
30
  "typescript": "^4.3.5"
29
31
  }