implementation of DataLayerEvent
update GetGameState to add nickname to the returned data update GameMap to separate phaserLayer and mapLayer
This commit is contained in:
parent
201fcf6afa
commit
aa78bf44ef
10 changed files with 94 additions and 67 deletions
|
@ -1,9 +1,9 @@
|
|||
|
||||
|
||||
WA.getMapUrl().then((map) => {console.log('mapUrl : ', map)});
|
||||
/*WA.getMapUrl().then((map) => {console.log('mapUrl : ', map)});
|
||||
WA.getUuid().then((uuid) => {console.log('Uuid : ',uuid)});
|
||||
WA.getRoomId().then((roomId) => console.log('roomID : ',roomId));
|
||||
|
||||
WA.listenPositionPlayer(console.log);
|
||||
|
||||
WA.getRoomId().then((roomId) => console.log('roomID : ',roomId));*/
|
||||
|
||||
//WA.onPlayerMove(console.log);
|
||||
WA.setProperty('metadata', 'openWebsite', 'https://fr.wikipedia.org/');
|
||||
WA.getDataLayer().then((data) => {console.log('data 1 : ', data)});
|
Loading…
Add table
Add a link
Reference in a new issue