no message
This commit is contained in:
parent
0ffbf8b4b7
commit
3ef3561b57
10 changed files with 74 additions and 125 deletions
|
@ -14,7 +14,7 @@ interface WorkAdventureApi {
|
|||
onLeaveZone(name: string, callback: () => void): void;
|
||||
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup;
|
||||
disablePlayerControl() : void;
|
||||
enablePlayerControl() : void;
|
||||
restorePlayerControl() : void;
|
||||
displayBubble() : void;
|
||||
removeBubble() : void;
|
||||
}
|
||||
|
@ -84,8 +84,8 @@ window.WA = {
|
|||
window.parent.postMessage({'type' : 'disablePlayerControl'},'*');
|
||||
},
|
||||
|
||||
enablePlayerControl() : void {
|
||||
window.parent.postMessage({'type' : 'enablePlayerControl'},'*');
|
||||
restorePlayerControl() : void {
|
||||
window.parent.postMessage({'type' : 'restorePlayerControl'},'*');
|
||||
},
|
||||
|
||||
displayBubble() : void {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue