@rpgjs/common 5.0.0-alpha.5 → 5.0.0-alpha.7
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/Player.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Player.ts +3 -0
package/dist/Player.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Item } from './database';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
+
import { Constructor } from './Utils';
|
|
3
4
|
import * as Matter from 'matter-js';
|
|
4
5
|
export declare enum Direction {
|
|
5
6
|
Up = "up",
|
|
@@ -196,3 +197,4 @@ export declare class RpgCommonPlayer {
|
|
|
196
197
|
}): Observable<any[]>;
|
|
197
198
|
getCurrentMap(): any;
|
|
198
199
|
}
|
|
200
|
+
export type PlayerCtor<T extends RpgCommonPlayer = RpgCommonPlayer> = Constructor<T>;
|