tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Golf.GolfState Class Reference

Public Member Functions

void CancelBallTracking ()
 
int GetGolfBallScore (Projectile golfBall)
 
Vector2? GetLastBallLocation ()
 
Projectile GetLastHitBall ()
 
void LandBall (Projectile golfBall)
 
void RecordBallInfo (Projectile golfBall)
 
void RecordSwing (Projectile golfBall)
 
void ResetGolfBall ()
 
void ResetScoreTime ()
 
void SetScoreTime ()
 
void Update ()
 

Properties

bool IsTrackingBall [get]
 
float ScoreAdjustment [get]
 
bool ShouldCameraTrackBallLastKnownLocation [get]
 
bool ShouldScoreHole [get]