UseGrapple() public method

public UseGrapple ( Player player, int &type ) : void
player Terraria.Player
type int
return void
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);
            }
        }