Adding placeHolder Popup tuto to Map2
need to cut player controller and simulate bobble
This commit is contained in:
parent
f9f618094d
commit
6441fa71d3
3 changed files with 618 additions and 17 deletions
|
@ -79,11 +79,9 @@ window.WA = {
|
|||
},
|
||||
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup {
|
||||
popupId++;
|
||||
|
||||
const popup = new Popup(popupId);
|
||||
const btnMap = new Map<number, () => void>();
|
||||
popupCallbacks.set(popupId, btnMap);
|
||||
targetObject = "tutoBobble";
|
||||
let id = 0;
|
||||
for (const button of buttons) {
|
||||
const callback = button.callback;
|
||||
|
@ -95,6 +93,7 @@ window.WA = {
|
|||
id++;
|
||||
}
|
||||
|
||||
|
||||
window.parent.postMessage({
|
||||
'type': 'openPopup',
|
||||
'data': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue