重构继承关系

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-01 02:01:35 +08:00
parent e59c5640d7
commit 6ebed0b45e
43 changed files with 496 additions and 524 deletions

View File

@@ -2,6 +2,7 @@ import { TableGRoleSkill } from "../../../resources/config/ts/TableGRoleSkill";
import GRoleBase from "../base/role/GRoleBase";
import GSkillCrazySquirrel from "./RoleSkill/疯狂松鼠/GSkillCrazySquirrel";
import GSkillBulbasaurDoubleHit from "./RoleSkill/妙蛙种子/GSkillBulbasaurDoubleHit";
import GRoleDefault from "../base/role/GRoleDefault";
//技能状态
export enum GSkillState{
@@ -14,7 +15,7 @@ export enum GSkillState{
export interface GSkillBase {
//设置
bind(role:GRoleBase<{}>,info:TableGRoleSkill):GSkillBase;
bind(role:GRoleDefault,info:TableGRoleSkill):GSkillBase;
//是否允许释放
isRelease():boolean;