tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.Golf.GolfHelper.ContactListener Class Reference

Inherits Terraria.Physics.IBallContactListener.

Public Member Functions

void OnCollision (PhysicsProperties properties, ref Vector2 position, ref Vector2 velocity, ref BallCollisionEvent collision)
 
void OnPassThrough (PhysicsProperties properties, ref Vector2 position, ref Vector2 velocity, ref float angularVelocity, ref BallPassThroughEvent collision)
 
void PutBallInCup (Projectile proj, BallCollisionEvent collision)
 

Static Public Member Functions

static void EmitGolfballExplosion (Vector2 Center)
 
static void EmitGolfballExplosion_Old (Vector2 Center)
 
static void EmitGolfballExplosion_v1 (Vector2 Center)
 
static void PutBallInCup_TextAndEffects (Point hitLocation, int plr, int numberOfHits, int projid)