import type { MapManager } from '../../battle/map/legacy/MapManager'; import type { CocosBattleMonsterPresenter } from '../../battle/view/CocosBattleMonsterPresenter'; import type { ProjectBattleHandle } from '../../battle/runtime/BattleRuntime'; import type { BattleGameOtherSkillView } from './BattleGameOtherSkillView'; import type { BattleGamePassiveSkillView } from './BattleGamePassiveSkillView'; /** 弱水 buff 绑定上下文(Phase1 未使用) */ export type BattleGameRuoshuiBindContext = { /** 飞行层 */ flyLayer: import('cc').Node | null; /** 被动 skill 视图 */ passiveSkillView: BattleGamePassiveSkillView | null; /** 敌方 skill 视图 */ otherSkillView: BattleGameOtherSkillView | null; }; /** * 弱水符减速表现(Phase1 已移除,占位编译)。 */ export class BattleGameRuoshuiBuffPresenter { /** 绑定(无操作) */ bind( _battle: ProjectBattleHandle, _map: MapManager, _monsterPresenter: CocosBattleMonsterPresenter, _ctx: BattleGameRuoshuiBindContext, ): void { } /** 解除绑定 */ unbind(): void { } /** 刷新(无操作) */ refresh(): void { } } let _presenter: BattleGameRuoshuiBuffPresenter | null = null; /** 弱水符表现单例 */ export function getBattleGameRuoshuiBuffPresenter(): BattleGameRuoshuiBuffPresenter { if (!_presenter) _presenter = new BattleGameRuoshuiBuffPresenter(); return _presenter; }