renamed to goToRoom

This commit is contained in:
jonny 2021-06-16 17:16:00 +02:00
parent 7712bd685b
commit c1e202b7b1

View File

@ -23,7 +23,7 @@ interface WorkAdventureApi {
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup;
openTab(url: string): void;
goToPage(url: string): void;
exitSceneTo(url : string): void;
goToRoom(url: string): void;
openCoWebSite(url: string): void;
closeCoWebSite(): void;
disablePlayerControls(): void;
@ -168,7 +168,7 @@ window.WA = {
}, '*');
},
exitSceneTo(url : string) : void{
goToRoom(url: string): void {
window.parent.postMessage({
"type" : 'loadPage',
"data" : {