コード例 #1
0
        void controller_onShoot(object sender, EventArgs e)
        {
            if (onShoot != null)
            {
                InfoRePath.CallEvent(this.MgPath, "onShoot", onShoot, this, skin.GetTurretEndPos(controller.Pos, controller.Azi, controller.turretAzi), controller.Azi + controller.turretAzi);
            }

            skin.BeginRecoil();
        }
コード例 #2
0
        void controller_onShoot(object sender, EventArgs e)
        {
            if (onShoot != null)
            {
                onShoot(this, skin.GetTurretEndPos(controller.Pos, controller.Azi, controller.turretAzi), controller.Azi + controller.turretAzi);
            }

            skin.BeginRecoil();
        }