T00L00 / WanderKingPrototype

1 stars 0 forks source link

Refactor trajectory generation code #15

Open T00L00 opened 6 months ago

T00L00 commented 6 months ago

ParabolicProjectileTrajectory currently contains CalculatePath and CalculateParabolicPath methods. It's confusing how to use this class because of these 2 separate methods. I recommend combining them and refactoring the logic so that it's more straightforward how to use this class in other code. Same goes for all child classes of ProjectileTrajectory