2023-10-27 02:38:08 +08:00

20 lines
468 B
TypeScript

import { TableGRoleAttack } from "../../../../resources/config/ts/TableGRoleAttack";
import GRoleBase from "../role/GRoleBase";
import GAttackNormal from "./GAttackNormal";
import GAttackRemote from "./GAttackRemote";
//攻击方式基类
export class GAttackBase{
attack(role:GRoleBase<{}>,info:TableGRoleAttack){};
}
//攻击方式
export const GAttack:{[key:string]:new () => GAttackBase} = {
["Normal"]:GAttackNormal,
["Remote"]:GAttackRemote,
}