Exemple #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();
        }
Exemple #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();
        }