完善关卡逻辑

This commit is contained in:
2025-05-19 19:51:17 +08:00
parent d51c122d57
commit e9e60706a4
23 changed files with 792 additions and 113 deletions

15
src/utils/utility.ts Normal file
View File

@@ -0,0 +1,15 @@
export function Utility_ConvertSecondToString(second: number) {
var last = second
var hour = Math.floor(last/3600)
last = last - hour * 3600
var minite = Math.floor(last/60)
last = last - minite * 60
var second = Math.floor(last)
function format(value: number) {
return value>=10?value.toString():("0"+value)
}
return `${format(hour)}:${format(minite)}:${format(second)}`
}

View File

@@ -0,0 +1,3 @@
{
"uuid": "d17f1a58-98e1-4a84-8bd0-8612a1662cea"
}