Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public JumpConstantSpring(Character _character, JumpConstantSpringProperties jp)
 {
     character           = _character;
     initialVelocity     = jp.initialVelocity;
     penetration         = jp.penetration;
     minPenetrationSpeed = jp.minPenetrationSpeed;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public JumpConstantSpring(Character _character, JumpConstantSpringProperties jp) {
   character = _character;
   initialVelocity = jp.initialVelocity;
   penetration = jp.penetration;
   minPenetrationSpeed = jp.minPenetrationSpeed;
 }