|
terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Collaboration diagram for Terraria.GameContent.Golf.FancyGolfPredictionLine:Classes | |
| class | PredictionEntity |
Public Member Functions | |
| FancyGolfPredictionLine (int iterations) | |
| void | Update (Entity golfBall, Vector2 impactVelocity, float roughLandResistance) |
| void | Draw (Camera camera, SpriteBatch spriteBatch, float chargeProgress) |
Private Member Functions | |
| Color | GetColor (float travelledLength) |
| Color | GetColor2 (float index) |
| float | GetScale (float travelledLength) |
| void | GetSectionLength (int startIndex, out float length, out float rotation) |
| Vector2 | GetPosition (float indexProgress) |
Private Attributes | |
| readonly List< Vector2 > | _positions |
| readonly Entity | _entity |
| readonly int | _iterations |
| readonly Color[] | _colors |
| readonly BasicDebugDrawer | _drawer |
| float | _time |
Definition at line 14 of file FancyGolfPredictionLine.cs.