You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
449 B
15 lines
449 B
|
3 weeks ago
|
import type { Skill } from '../skill/Skill';
|
||
|
|
import type { SkillPresentationContext } from '../skill/SkillPresentationTypes';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 技能表现播控:纯 ctx 驱动,状态挂在 Skill 宿主上。
|
||
|
|
*/
|
||
|
|
export interface ISkillPresenter {
|
||
|
|
/**
|
||
|
|
* 播放表现并在适当时机 hit/finish。
|
||
|
|
* @param ctx 表现上下文
|
||
|
|
* @param host 英雄 Skill 宿主
|
||
|
|
*/
|
||
|
|
present(ctx: SkillPresentationContext, host: Skill): void;
|
||
|
|
}
|