public void ProjectileCollision(AProjectile projectile, Character character)
        {
            if (!projectile.photonView.IsMine)
            {
                return;
            }

            var content = new int[]
            {
                projectile.Character.photonView.ViewID,
                character.photonView.ViewID,
                projectile.WeaponConfig.damage
            };

            PhotonNetwork.RaiseEvent(DealDamageCode, content, raiseEventOptions, sendOptions);
        }
        /// <summary>
        /// initialize all attacks
        /// </summary>
        void initAttacks()
        {
            #region instantiate attacks
            sc = new StockCombat(player)
            {
                AttackType = attackType,
                pixel      = game.Content.Load <Texture2D>("p"),
                cooldown   = 30,
                invinTime  = 60 * 3
            };

            projectile = new AProjectile(game, player)
            {
                speed = 10
            };
            #endregion

            #region add attacks
            attacks.Add(projectile);
            #endregion
        }