@wwawing/engine 3.7.2 → 3.8.0-beta.1

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 +1,2 @@
1
+ export declare function checkTouchDevice(): boolean;
1
2
  export declare function inject(parent: HTMLDivElement, titleImgName: string): void;
package/lib/wwa_main.d.ts CHANGED
@@ -16,6 +16,8 @@ export declare class WWA {
16
16
  private _monster;
17
17
  private _keyStore;
18
18
  private _mouseStore;
19
+ private _virtualPadStore;
20
+ private _virtualPadButtonElements;
19
21
  private _gamePadStore;
20
22
  private _camera;
21
23
  _itemMenu: ItemMenu;
@@ -73,6 +75,7 @@ export declare class WWA {
73
75
  private _userVarNameListRequestError;
74
76
  private _canDisplayUserVars;
75
77
  private _isActive;
78
+ private _itemboxBackgroundPos;
76
79
  private _mapIDTable;
77
80
  private _mapObjectIDTable;
78
81
  wwaCustomEventEmitter: IEventEmitter;
@@ -281,6 +284,9 @@ export declare class WWA {
281
284
  x: number;
282
285
  y: number;
283
286
  }): void;
287
+ private _getVirtualPadButton;
288
+ private _setVirtualPadTouch;
289
+ private _setVirtualPadLeave;
284
290
  private _actionGamePadButtonItemMacro;
285
291
  setGamePadButtonItemTable(buttonID: number, itemBoxNo: number): void;
286
292
  private _checkSaveDataCompatibility;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/engine",
3
- "version": "3.7.2",
3
+ "version": "3.8.0-beta.1",
4
4
  "description": "World Wide Adventure: an RPG Engine.",
5
5
  "main": "./lib/wwa.js",
6
6
  "files": [
@@ -45,13 +45,14 @@
45
45
  "@types/pug": "^2.0.4",
46
46
  "@types/terser-webpack-plugin": "^5.0.3",
47
47
  "@types/webpack": "^5.28.0",
48
- "@wwawing/assets": "^3.7.2",
49
- "@wwawing/common-interface": "^3.7.2",
50
- "@wwawing/debug-server": "^3.7.2",
51
- "@wwawing/event-emitter": "^3.7.2",
52
- "@wwawing/loader": "^3.7.2",
53
- "@wwawing/page-generator": "^3.7.2",
54
- "@wwawing/styles": "^3.7.2",
48
+ "@wwawing/assets": "^3.8.0-beta.1",
49
+ "@wwawing/common-interface": "^3.8.0-beta.1",
50
+ "@wwawing/debug-server": "^3.8.0-beta.1",
51
+ "@wwawing/event-emitter": "^3.8.0-beta.1",
52
+ "@wwawing/loader": "^3.8.0-beta.1",
53
+ "@wwawing/page-generator": "^3.8.0-beta.1",
54
+ "@wwawing/styles": "^3.8.0-beta.1",
55
+ "@wwawing/virtual-pad": "^3.8.0-beta.1",
55
56
  "crypto-js": "4.0.0",
56
57
  "npm-run-all": "^4.1.5",
57
58
  "pug": "^3.0.2",
@@ -71,5 +72,5 @@
71
72
  "node": ">=16",
72
73
  "npm": ">=8"
73
74
  },
74
- "gitHead": "7061ccf10b3c472d753afd7dbec9c70172dd20dc"
75
+ "gitHead": "f27dbc4de044cc28ab944997ea1c3361e94228cc"
75
76
  }