renamed to goToRoom
This commit is contained in:
parent
7712bd685b
commit
c1e202b7b1
1 changed files with 5 additions and 5 deletions
|
@ -21,10 +21,10 @@ interface WorkAdventureApi {
|
||||||
onEnterZone(name: string, callback: () => void): void;
|
onEnterZone(name: string, callback: () => void): void;
|
||||||
onLeaveZone(name: string, callback: () => void): void;
|
onLeaveZone(name: string, callback: () => void): void;
|
||||||
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup;
|
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup;
|
||||||
openTab(url : string): void;
|
openTab(url: string): void;
|
||||||
goToPage(url : string): void;
|
goToPage(url: string): void;
|
||||||
exitSceneTo(url : string): void;
|
goToRoom(url: string): void;
|
||||||
openCoWebSite(url : string): void;
|
openCoWebSite(url: string): void;
|
||||||
closeCoWebSite(): void;
|
closeCoWebSite(): void;
|
||||||
disablePlayerControls(): void;
|
disablePlayerControls(): void;
|
||||||
restorePlayerControls(): void;
|
restorePlayerControls(): void;
|
||||||
|
@ -168,7 +168,7 @@ window.WA = {
|
||||||
}, '*');
|
}, '*');
|
||||||
},
|
},
|
||||||
|
|
||||||
exitSceneTo(url : string) : void{
|
goToRoom(url: string): void {
|
||||||
window.parent.postMessage({
|
window.parent.postMessage({
|
||||||
"type" : 'loadPage',
|
"type" : 'loadPage',
|
||||||
"data" : {
|
"data" : {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue