tModLoader v2024.03
A mod to make and play Terraria mods
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 ()
 
void WorldClear ()
 

Properties

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