This commit is contained in:
Hanusiak Piotr 2022-01-27 16:50:25 +01:00
parent 8b8c24f6ef
commit 099d573296
7 changed files with 12 additions and 21 deletions

View file

@ -107,18 +107,6 @@ export class RemotePlayer extends Character implements ActivatableInterface {
console.log('HELLO');
}
},
{
actionName: "Log Goodbye",
callback: () => {
console.log('GOODBYE');
}
},
{
actionName: "Clear Goodbye Action",
callback: () => {
actionsMenuStore.removeAction("Log Goodbye");
}
},
];
}

View file

@ -91,4 +91,4 @@ export class ActivatablesManager {
MathUtils.distanceBetween(this.currentPlayer.getPosition(), object.getPosition()),
);
}
}
}

View file

@ -1802,7 +1802,7 @@ ${escapedMessage}
case "RemovePlayerEvent":
this.doRemovePlayer(event.userId);
break;
case "UserMovedEvent":
case "UserMovedEvent": {
this.doUpdatePlayerPosition(event.event);
const remotePlayer = this.MapPlayersByKey.get(event.event.userId);
if (remotePlayer) {
@ -1810,6 +1810,7 @@ ${escapedMessage}
this.activatablesManager.deduceSelectedActivatableObjectByDistance();
}
break;
}
case "GroupCreatedUpdatedEvent":
this.doShareGroupPosition(event.event);
break;

View file

@ -8,4 +8,4 @@ export interface OutlineableInterface {
pointerOutOutline(): void
characterCloseByOutline(): void
characterFarAwayOutline(): void
}
}