SpringConfig constructor

SpringConfig(
  1. double tension,
  2. double friction
)

constructor for the SpringConfig @param tension tension value for the SpringConfig @param friction friction value for the SpringConfig

Implementation

SpringConfig(double tension, double friction): this.tension = tension, this.friction = friction;