|
Terraria v1.4.4.9
Terraria source code documentation
|
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 = new PredictionEntity() |
| readonly int | _iterations |
| readonly Color[] | _colors |
| readonly BasicDebugDrawer | _drawer = new BasicDebugDrawer(Main.instance.GraphicsDevice) |
| float | _time |
Definition at line 10 of file FancyGolfPredictionLine.cs.