@eva/plugin-matterjs 1.1.1-fix.0 → 1.1.1-fix.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.
- package/dist/plugin-matterjs.cjs.prod.js +2 -2
- package/package.json +2 -2
- package/dist/EVA.plugin.matterjs.js +0 -11139
- package/dist/EVA.plugin.renderer.matterjs.js +0 -11136
- package/dist/EVA.plugin.renderer.matterjs.min.js +0 -1
- package/dist/miniprogram.js +0 -11084
- package/dist/plugin-matterjs.d.ts +0 -35
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Component } from '@eva/eva.js';
|
|
2
|
-
import { System } from '@eva/eva.js';
|
|
3
|
-
|
|
4
|
-
export declare class Physics extends Component<PhysicsType> {
|
|
5
|
-
static componentName: string;
|
|
6
|
-
private bodyParams;
|
|
7
|
-
body: any;
|
|
8
|
-
private PhysicsEngine;
|
|
9
|
-
constructor(params: any);
|
|
10
|
-
init(params: any): void;
|
|
11
|
-
update(): void;
|
|
12
|
-
onDestroy(): void;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export declare class PhysicsSystem extends System {
|
|
16
|
-
static systemName: string;
|
|
17
|
-
private engine;
|
|
18
|
-
init(param?: any): void;
|
|
19
|
-
awake(): void;
|
|
20
|
-
start(): void;
|
|
21
|
-
update(): void;
|
|
22
|
-
componentChanged(changed: any): void;
|
|
23
|
-
lateUpdate(): void;
|
|
24
|
-
onResume(): void;
|
|
25
|
-
onPause(): void;
|
|
26
|
-
onDestroy(): void;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export declare enum PhysicsType {
|
|
30
|
-
RECTANGLE = "rectangle",
|
|
31
|
-
CIRCLE = "circle",
|
|
32
|
-
POLYGON = "polygon"
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export { }
|