Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Golf.FancyGolfPredictionLine Class Reference

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
 

Detailed Description

Definition at line 10 of file FancyGolfPredictionLine.cs.


The documentation for this class was generated from the following file: