ingame timer

This commit is contained in:
Zutatensuppe 2020-12-07 02:38:07 +01:00
parent 0dcebdd718
commit 3fdd1ae240
6 changed files with 73 additions and 7 deletions

View file

@ -223,6 +223,14 @@ const getTileDrawSize = (gameId) => {
return GAMES[gameId].puzzle.info.tileDrawSize
}
const getStartTs = (gameId) => {
return GAMES[gameId].puzzle.data.started
}
const getFinishTs = (gameId) => {
return GAMES[gameId].puzzle.data.finished
}
const getMaxGroup = (gameId) => {
return GAMES[gameId].puzzle.data.maxGroup
}
@ -624,5 +632,7 @@ export default {
getFirstOwnedTile,
getTileDrawOffset,
getTileDrawSize,
getStartTs,
getFinishTs,
handleInput,
}