refactor: 移动 getLevelRewardType 函数至 CardSet 模块

将获取等级奖励类型的函数从 GameSet 模块移至更相关的 CardSet 模块,以提高代码的组织性和模块内聚性。
This commit is contained in:
walkpan
2026-02-04 20:25:24 +08:00
parent 82f7c3085b
commit b9e9527375
3 changed files with 19 additions and 17 deletions

View File

@@ -9,8 +9,9 @@ import { GameEvent } from "../common/config/GameEvent";
import { HeroViewComp } from "../hero/HeroViewComp";
import { UIID } from "../common/config/GameUIConfig";
import { SkillView } from "../skill/SkillView";
import { FightSet, getLevelRewardType, CardType, FacSet } from "../common/config/GameSet";
import { FightSet, CardType, FacSet } from "../common/config/GameSet";
import { mLogger } from "../common/Logger";
import { getLevelRewardType } from "../common/config/CardSet";
const { ccclass, property } = _decorator;