refactor(model): 모델 및 스토리지 정리
- GameState, GameStatistics, HallOfFame 개선 - MonsterGrade, HallOfFameStorage 정리
This commit is contained in:
@@ -64,6 +64,13 @@ class HallOfFameStorage {
|
||||
return save(updated);
|
||||
}
|
||||
|
||||
/// 엔트리 삭제 및 저장 (디버그용)
|
||||
Future<bool> deleteEntry(String id) async {
|
||||
final hallOfFame = await load();
|
||||
final updated = hallOfFame.removeEntry(id);
|
||||
return save(updated);
|
||||
}
|
||||
|
||||
/// 명예의 전당 초기화 (테스트용)
|
||||
Future<bool> clear() async {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user