feat(api): Vue
Added functionality to Lobby in Vue
This commit is contained in:
@@ -487,8 +487,11 @@ const LobbyComponent = {
|
|||||||
startGame() {
|
startGame() {
|
||||||
globalThis.startGame()
|
globalThis.startGame()
|
||||||
},
|
},
|
||||||
leaveGame() {
|
leaveGame(gameId) {
|
||||||
|
//TODO: Needs implementation
|
||||||
|
},
|
||||||
|
handleKickPlayer(playerId) {
|
||||||
|
globalThis.handleKickPlayer(playerId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
function handlePlayCard(cardidx) {}
|
function handlePlayCard(cardidx) {
|
||||||
|
}
|
||||||
*/
|
*/
|
||||||
function handleSkipDogLife(button) {
|
function handleSkipDogLife(button) {
|
||||||
// TODO needs implementation
|
// TODO needs implementation
|
||||||
|
|||||||
Reference in New Issue
Block a user