mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
20 lines
468 B
TypeScript
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,
|
||
|
}
|
||
|
|