Cancelable companion resource
This commit is contained in:
parent
9696b0ab04
commit
4a9cc57d60
5 changed files with 16 additions and 8 deletions
|
@ -25,7 +25,7 @@ export class Player extends Character {
|
|||
direction: PlayerAnimationDirections,
|
||||
moving: boolean,
|
||||
companion: string | null,
|
||||
companionTexturePromise?: Promise<string>
|
||||
companionTexturePromise?: CancelablePromise<string>
|
||||
) {
|
||||
super(Scene, x, y, texturesPromise, name, direction, moving, 1, true, companion, companionTexturePromise);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue