tModLoader v2025.01
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
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]