Terraria.ModLoader.ModProjectile.UseGrapple C# (CSharp) Method

UseGrapple() public method

public UseGrapple ( Player player, int &type ) : void
player Terraria.Player
type int
return void
        public virtual void UseGrapple(Player player, ref int type)
        {
        }

Usage Example

Ejemplo n.º 1
0
        public static void UseGrapple(Player player, ref int type)
        {
            ModProjectile modProjectile = GetProjectile(type);

            if (modProjectile != null)
            {
                modProjectile.UseGrapple(player, ref type);
            }
            foreach (GlobalProjectile globalProjectile in globalProjectiles)
            {
                globalProjectile.UseGrapple(player, ref type);
            }
        }