react-simple-game-engine 0.2.108 → 0.2.110

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.
@@ -1,20 +1,17 @@
1
1
  import { ReactNode } from "react";
2
2
  import { SoundType } from "../export-enums";
3
3
  import { SoundManagement } from "../export-types";
4
- import { Scene } from "./scene";
5
4
  declare type SoundWatcherChildProps = {
6
5
  toggle: () => void;
7
6
  set: (on: boolean) => void;
8
7
  };
9
8
  declare type SoundOnceWatcherProps = {
10
- scene: Scene;
11
9
  children: (value: SoundManagement[SoundType.ONCE] & SoundWatcherChildProps) => ReactNode;
12
10
  };
13
- export declare function SoundOnceWatcher({ scene, children }: SoundOnceWatcherProps): JSX.Element;
11
+ export declare function SoundOnceWatcher({ children }: SoundOnceWatcherProps): JSX.Element;
14
12
  declare type SoundBackgroundWatcherProps = {
15
- scene: Scene;
16
13
  children: (value: SoundManagement[SoundType.BACKGROUND] & SoundWatcherChildProps) => ReactNode;
17
14
  };
18
- export declare function SoundBackgroundWatcher({ scene, children, }: SoundBackgroundWatcherProps): JSX.Element;
15
+ export declare function SoundBackgroundWatcher({ children, }: SoundBackgroundWatcherProps): JSX.Element;
19
16
  export {};
20
17
  //# sourceMappingURL=sound-watcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sound-watcher.d.ts","sourceRoot":"","sources":["../../src/classes/sound-watcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAC;AACpE,OAAO,EAAiB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,aAAK,sBAAsB,GAAG;IAC5B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5B,CAAC;AAE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,CAAC;AACF,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,GACT,EAAE,2BAA2B,eA0B7B"}
@@ -10,11 +10,13 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
13
- import { useCallback, useEffect, useState } from "react";
13
+ import { useCallback, useContext, useEffect, useState } from "react";
14
14
  import { SoundStoreKey } from "../export-enums";
15
+ import { UISceneContext } from "../react-context";
15
16
  import { Saver } from "./saver";
16
17
  export function SoundOnceWatcher(_a) {
17
- var scene = _a.scene, children = _a.children;
18
+ var children = _a.children;
19
+ var scene = useContext(UISceneContext);
18
20
  var _b = useState(scene.soundOnceOptions), values = _b[0], setValues = _b[1];
19
21
  useEffect(function () {
20
22
  return scene.onSoundOnceOptionsChange(function (options) {
@@ -37,7 +39,8 @@ export function SoundOnceWatcher(_a) {
37
39
  return _jsx(_Fragment, { children: children(__assign(__assign({}, values), { toggle: toggle, set: set })) });
38
40
  }
39
41
  export function SoundBackgroundWatcher(_a) {
40
- var scene = _a.scene, children = _a.children;
42
+ var children = _a.children;
43
+ var scene = useContext(UISceneContext);
41
44
  var _b = useState(scene.soundBackgroundOptions), values = _b[0], setValues = _b[1];
42
45
  useEffect(function () {
43
46
  return scene.onSoundBackgroundOptionsChange(function (options) {
@@ -1,11 +1,9 @@
1
1
  import { ReactNode } from "react";
2
- import { Scene } from "./scene";
3
2
  declare type WatcherProps<IV> = {
4
- scene: Scene;
5
3
  names: string | string[];
6
4
  initialValues: IV;
7
5
  children: (value: IV) => ReactNode;
8
6
  };
9
- export declare function Watcher<IV extends Record<string, any> = Record<string, any>>({ scene, names: _names, children, initialValues, }: WatcherProps<IV>): JSX.Element;
7
+ export declare function Watcher<IV extends Record<string, any> = Record<string, any>>({ names: _names, children, initialValues, }: WatcherProps<IV>): JSX.Element;
10
8
  export {};
11
9
  //# sourceMappingURL=watcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"watcher.d.ts","sourceRoot":"","sources":["../../src/classes/watcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,aAAK,YAAY,CAAC,EAAE,IAAI;IACtB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,EAAE,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,KAAK,SAAS,CAAC;CACpC,CAAC;AACF,wBAAgB,OAAO,CAAC,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAC5E,KAAK,EACL,KAAK,EAAE,MAAM,EACb,QAAQ,EACR,aAAa,GACd,EAAE,YAAY,CAAC,EAAE,CAAC,eAqBlB"}
1
+ {"version":3,"file":"watcher.d.ts","sourceRoot":"","sources":["../../src/classes/watcher.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmC,MAAM,OAAO,CAAC;AAGnE,aAAK,YAAY,CAAC,EAAE,IAAI;IACtB,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,EAAE,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,KAAK,SAAS,CAAC;CACpC,CAAC;AACF,wBAAgB,OAAO,CAAC,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAC5E,KAAK,EAAE,MAAM,EACb,QAAQ,EACR,aAAa,GACd,EAAE,YAAY,CAAC,EAAE,CAAC,eAsBlB"}
@@ -19,9 +19,11 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
21
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
22
- import { useEffect, useState } from "react";
22
+ import { useContext, useEffect, useState } from "react";
23
+ import { UISceneContext } from "../react-context";
23
24
  export function Watcher(_a) {
24
- var scene = _a.scene, _names = _a.names, children = _a.children, initialValues = _a.initialValues;
25
+ var _names = _a.names, children = _a.children, initialValues = _a.initialValues;
26
+ var scene = useContext(UISceneContext);
25
27
  var names = Array.isArray(_names) ? _names : [_names];
26
28
  var _b = useState(initialValues), values = _b[0], setValues = _b[1];
27
29
  useEffect(function () {
@@ -1,5 +1,7 @@
1
1
  import { EntitySult } from "../classes/entities/entity-sult";
2
- export declare function useEntity<T extends EntitySult = EntitySult>(...entityClasses: {
2
+ declare type TargetFind<T> = string | {
3
3
  new (): T;
4
- }[]): T[];
4
+ };
5
+ export declare function useEntity<T extends EntitySult = EntitySult>(...entityClasses: TargetFind<T>[]): T[];
6
+ export {};
5
7
  //# sourceMappingURL=entity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../src/hooks/entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,wBAAgB,SAAS,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EACzD,GAAG,aAAa,EAAE;IAChB,QAAQ,CAAC,CAAC;CACX,EAAE,OAOJ"}
1
+ {"version":3,"file":"entity.d.ts","sourceRoot":"","sources":["../../src/hooks/entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAG7D,aAAK,UAAU,CAAC,CAAC,IACb,MAAM,GACN;IACE,QAAQ,CAAC,CAAC;CACX,CAAC;AAEN,wBAAgB,SAAS,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU,EACzD,GAAG,aAAa,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,OAOlC"}
@@ -0,0 +1,2 @@
1
+ export declare function useScene(): import("..").Scene<any>;
2
+ //# sourceMappingURL=scene.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../src/hooks/scene.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,4BAIvB"}
@@ -0,0 +1,6 @@
1
+ import { useContext } from "react";
2
+ import { UISceneContext } from "../react-context";
3
+ export function useScene() {
4
+ var scene = useContext(UISceneContext);
5
+ return scene;
6
+ }
@@ -1,8 +1,6 @@
1
1
  import { ReactElement, ReactNode } from "react";
2
- import { Scene } from "../classes/scene";
3
2
  import { IJoystickProps } from "./react-joystick-component/Joystick";
4
3
  export declare type MovementControlProps = {
5
- scene: Scene;
6
4
  top?: number;
7
5
  left?: number;
8
6
  right?: number;
@@ -10,5 +8,5 @@ export declare type MovementControlProps = {
10
8
  render?: (el: ReactElement) => ReactNode;
11
9
  props?: Omit<IJoystickProps, "start" | "move" | "stop">;
12
10
  };
13
- export declare function MovementControl({ scene, render, top, left, right, bottom, props, }: MovementControlProps): JSX.Element;
11
+ export declare function MovementControl({ render, top, left, right, bottom, props, }: MovementControlProps): JSX.Element;
14
12
  //# sourceMappingURL=movement-control.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"movement-control.d.ts","sourceRoot":"","sources":["../../src/ui-components/movement-control.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAIzC,OAAO,EACL,cAAc,EAEf,MAAM,qCAAqC,CAAC;AAE7C,oBAAY,oBAAoB,GAAG;IACjC,KAAK,EAAE,KAAK,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,SAAS,CAAC;IACzC,KAAK,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;CACzD,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,MAAM,EACN,GAAG,EACH,IAAS,EACT,KAAK,EACL,MAAW,EACX,KAAK,GACN,EAAE,oBAAoB,eAwDtB"}
1
+ {"version":3,"file":"movement-control.d.ts","sourceRoot":"","sources":["../../src/ui-components/movement-control.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAOrE,OAAO,EACL,cAAc,EAEf,MAAM,qCAAqC,CAAC;AAE7C,oBAAY,oBAAoB,GAAG;IACjC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,YAAY,KAAK,SAAS,CAAC;IACzC,KAAK,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;CACzD,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,GAAG,EACH,IAAS,EACT,KAAK,EACL,MAAW,EACX,KAAK,GACN,EAAE,oBAAoB,eAwDtB"}
@@ -10,12 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import { useMemo } from "react";
13
+ import { useContext, useMemo } from "react";
14
14
  import { JoystickActionType } from "../export-enums";
15
+ import { UISceneContext } from "../react-context";
15
16
  import { Watcher } from "../utilities";
16
17
  import { Joystick } from "./react-joystick-component";
17
18
  export function MovementControl(_a) {
18
- var scene = _a.scene, render = _a.render, top = _a.top, _b = _a.left, left = _b === void 0 ? 50 : _b, right = _a.right, _c = _a.bottom, bottom = _c === void 0 ? 50 : _c, props = _a.props;
19
+ var render = _a.render, top = _a.top, _b = _a.left, left = _b === void 0 ? 50 : _b, right = _a.right, _c = _a.bottom, bottom = _c === void 0 ? 50 : _c, props = _a.props;
20
+ var scene = useContext(UISceneContext);
19
21
  var defaultShow = useMemo(function () {
20
22
  return scene.getInitialData();
21
23
  }, [scene]).joystick;
@@ -46,7 +48,7 @@ export function MovementControl(_a) {
46
48
  }, [props]);
47
49
  return (_jsx(Watcher, __assign({ initialValues: {
48
50
  isShow: defaultShow,
49
- }, scene: scene, names: "control-visible" }, { children: function (_a) {
51
+ }, names: "control-visible" }, { children: function (_a) {
50
52
  var isShow = _a.isShow;
51
53
  return (isShow ? (render ? render(el) : el) : null);
52
54
  } })));
@@ -1 +1 @@
1
- {"version":3,"file":"scene-runner.d.ts","sourceRoot":"","sources":["../../src/ui-components/scene-runner.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,SAAS,EAKV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAKzC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAKrD,OAAO,EAAmB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG3E,oBAAY,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAA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B,EAClB,YAAY,EAAE,YAAY,EAC1B,QAAQ,GACT,EAAE,gBAAgB,eA+HlB"}
@@ -82,5 +82,5 @@ export function SceneRunner(_a) {
82
82
  }
83
83
  return rendered;
84
84
  })()
85
- : assetsLoader })) : (_jsx(_Fragment, { children: isBootDone ? (_jsxs(_Fragment, { children: [_jsx(UISceneContext.Provider, __assign({ value: current }, { children: _jsx(current.UI, __assign({ scene: current }, current.getUIProps())) })), joystick && (_jsx(MovementControl, __assign({ scene: current }, (joystick === true ? {} : joystick)))), _jsx("div", { className: getClassname("scene-modal-stack"), id: "scene-modal-stack" })] })) : (_jsx("div", {})) })) }))] })));
85
+ : assetsLoader })) : (_jsx(_Fragment, { children: isBootDone ? (_jsxs(UISceneContext.Provider, __assign({ value: current }, { children: [_jsx(current.UI, __assign({ scene: current }, current.getUIProps())), joystick && (_jsx(MovementControl, __assign({}, (joystick === true ? {} : joystick)))), _jsx("div", { className: getClassname("scene-modal-stack"), id: "scene-modal-stack" })] }))) : (_jsx("div", {})) })) }))] })));
86
86
  }
@@ -6,4 +6,5 @@ export * from "./ui-components/control-container";
6
6
  export * from "./hooks/interact";
7
7
  export * from "./hooks/watcher";
8
8
  export * from "./hooks/entity";
9
+ export * from "./hooks/scene";
9
10
  //# sourceMappingURL=utilities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../src/utilities.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../src/utilities.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
package/lib/utilities.js CHANGED
@@ -6,3 +6,4 @@ export * from "./ui-components/control-container";
6
6
  export * from "./hooks/interact";
7
7
  export * from "./hooks/watcher";
8
8
  export * from "./hooks/entity";
9
+ export * from "./hooks/scene";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-simple-game-engine",
3
- "version": "0.2.108",
3
+ "version": "0.2.110",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib",