import { _decorator, Component, Node } from 'cc';
import { GameController } from '../../GameController';
const { ccclass, property } = _decorator;

@ccclass('FireEventComponent')
export class FireEventComponent extends Component {


    start () {
        
    }

    /**
     * 发射子弹帧事件调用
     * @param data 
     */
    public LaunchBullet(data?:any):void{
        GameController.single.WeaponAttack();
    }
}
