计算积分

This commit is contained in:
2025-05-22 17:17:47 +08:00
parent 2bf07ab8f6
commit b3681e5c1e
19 changed files with 41383 additions and 378 deletions

View File

@@ -25,6 +25,7 @@ export interface DataStage {
mistake?: number,
score?: number,
duration?: number,
last_hit_time?: number,//上一次填对计时
note_open?: boolean,
hint?: number,
select_index?: number,
@@ -36,6 +37,7 @@ export function createDataStage(id: string, type: number, name: string, difficul
data.mistake = 0
data.score = 0
data.duration = 0
data.last_hit_time = 0
data.note_open = false
data.hint = 2
data.select_index = 0