重构继承关系

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

@@ -5,6 +5,9 @@ import GAttackNormal from "./GAttackNormal";
import GAttackParabolicBangRemote from "./GAttackParabolicBangRemote";
import { UITransform } from "cc";
import GButtleBase from "../bullet/GButtleBase";
import { GFSMAnimBase } from "../fsm/GFSMAnimBase";
import GFSMBase from "../fsm/GFSMBase";
import GRoleDefault from "../role/GRoleDefault";
//攻击子弹类
export class GAttackBullet{
@@ -22,7 +25,7 @@ export class GAttackBullet{
//攻击方式基类
export interface GAttackBase{
attack(role:GRoleBase<{}>,info:TableGRoleAttack);
attack(role:GRoleDefault,info:TableGRoleAttack);
}
//攻击方式