|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | ResetScoreTime () |
| void | SetScoreTime () |
| Vector2? | GetLastBallLocation () |
| void | WorldClear () |
| void | CancelBallTracking () |
| void | RecordSwing (Projectile golfBall) |
| Projectile | GetLastHitBall () |
| void | Update () |
| void | RecordBallInfo (Projectile golfBall) |
| void | LandBall (Projectile golfBall) |
| int | GetGolfBallScore (Projectile golfBall) |
| void | ResetGolfBall () |
Properties | |
| float | ScoreAdjustment [get] |
| bool | ShouldScoreHole [get] |
| bool | IsTrackingBall [get] |
| bool | ShouldCameraTrackBallLastKnownLocation [get] |
Private Member Functions | |
| void | UpdateScoreTime () |
| int | GetGolfBallId (Projectile golfBall) |
Private Attributes | |
| int | golfScoreTime |
| int | golfScoreTimeMax = 3600 |
| int | golfScoreDelay = 90 |
| double | _lastRecordedBallTime |
| Vector2? | _lastRecordedBallLocation |
| bool | _waitingForBallToSettle |
| Vector2 | _lastSwingPosition |
| Projectile | _lastHitGolfBall |
| int | _lastRecordedSwingCount |
| GolfBallTrackRecord[] | _hitRecords = new GolfBallTrackRecord[1000] |
Static Private Attributes | |
| const int | BALL_RETURN_PENALTY = 1 |
Definition at line 6 of file GolfState.cs.