Add teleport event
This commit is contained in:
parent
7b435edd71
commit
8df56204e3
3 changed files with 18 additions and 5 deletions
|
@ -20,6 +20,12 @@ export class GlobalMessageManager {
|
|||
this.Connection.receiveStopGlobalMessage((messageId: string) => {
|
||||
this.stopMessage(messageId);
|
||||
});
|
||||
|
||||
//receive signal to close message
|
||||
this.Connection.receiveTeleportMessage((map: string) => {
|
||||
console.log('map to teleport user', map);
|
||||
//TODO teleport user on map
|
||||
});
|
||||
}
|
||||
|
||||
private playMessage(message : PlayGlobalMessageInterface){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue