@wwawing/engine 3.6.0-beta.0 → 3.6.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/debug/make-debug-pages.ts +3 -3
- package/debug/maps-config.ts +0 -1
- package/lib/wwa.js +1 -1
- package/lib/wwa_data.d.ts +2 -2
- package/lib/wwa_main.d.ts +1 -1
- package/lib/wwa_parts_player.d.ts +1 -0
- package/package.json +9 -9
package/lib/wwa_data.d.ts
CHANGED
|
@@ -338,8 +338,8 @@ export declare enum SystemSound {
|
|
|
338
338
|
BGM_LB = 70,
|
|
339
339
|
NO_SOUND = 99
|
|
340
340
|
}
|
|
341
|
-
export declare
|
|
342
|
-
export declare
|
|
341
|
+
export declare const speedList: number[];
|
|
342
|
+
export declare const speedNameList: string[];
|
|
343
343
|
export declare const StatusKind: readonly ["energy", "strength", "defence", "gold"];
|
|
344
344
|
export declare type StatusKind = typeof StatusKind[number];
|
|
345
345
|
export declare class WWAConsts {
|
package/lib/wwa_main.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export declare class WWA {
|
|
|
102
102
|
onpasssuspendsavecalled(): void;
|
|
103
103
|
onitemmenucalled(): void;
|
|
104
104
|
onchangespeed(type: SpeedChange): void;
|
|
105
|
-
|
|
105
|
+
isBattleSpeedIndexForQuickBattle(battleSpeedIndex: number): boolean;
|
|
106
106
|
private _checkTurnKeyPressed;
|
|
107
107
|
private _main;
|
|
108
108
|
vibration(isStrong: boolean): void;
|
|
@@ -165,5 +165,6 @@ export declare class Player extends PartsObject {
|
|
|
165
165
|
getSpeedIndex(): number;
|
|
166
166
|
speedUp(): number;
|
|
167
167
|
speedDown(): number;
|
|
168
|
+
setSpeedIndex(speedIndex: number): number;
|
|
168
169
|
constructor(wwa: WWA, pos: Position, camera: Camera, status: Status, em: number, moves: number, gameSpeedIndex: number);
|
|
169
170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/engine",
|
|
3
|
-
"version": "3.6.0
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "World Wide Adventure: an RPG Engine.",
|
|
5
5
|
"main": "./lib/wwa.js",
|
|
6
6
|
"files": [
|
|
@@ -45,13 +45,13 @@
|
|
|
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.6.0
|
|
49
|
-
"@wwawing/common-interface": "^3.6.0
|
|
50
|
-
"@wwawing/debug-server": "^3.6.0
|
|
51
|
-
"@wwawing/event-emitter": "^3.6.0
|
|
52
|
-
"@wwawing/loader": "^3.6.0
|
|
53
|
-
"@wwawing/page-generator": "^3.6.0
|
|
54
|
-
"@wwawing/styles": "^3.6.0
|
|
48
|
+
"@wwawing/assets": "^3.6.0",
|
|
49
|
+
"@wwawing/common-interface": "^3.6.0",
|
|
50
|
+
"@wwawing/debug-server": "^3.6.0",
|
|
51
|
+
"@wwawing/event-emitter": "^3.6.0",
|
|
52
|
+
"@wwawing/loader": "^3.6.0",
|
|
53
|
+
"@wwawing/page-generator": "^3.6.0",
|
|
54
|
+
"@wwawing/styles": "^3.6.0",
|
|
55
55
|
"crypto-js": "4.0.0",
|
|
56
56
|
"npm-run-all": "^4.1.5",
|
|
57
57
|
"pug": "^3.0.2",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"node": ">=14",
|
|
72
72
|
"npm": ">=6"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "d172dfc6834874104894c005931f8765e4364ab3"
|
|
75
75
|
}
|