Class SKPhysicsJointSpring

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class SKPhysicsJointSpring
extends SKPhysicsJoint
  • Constructor Details

    • SKPhysicsJointSpring

      public SKPhysicsJointSpring()
    • SKPhysicsJointSpring

      protected SKPhysicsJointSpring​(NSObject.Handle h, long handle)
    • SKPhysicsJointSpring

      protected SKPhysicsJointSpring​(NSObject.SkipInit skipInit)
    • SKPhysicsJointSpring

      public SKPhysicsJointSpring​(SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchorA, CGPoint anchorB)
  • Method Details

    • getDamping

      public double getDamping()
    • setDamping

      public void setDamping​(double v)
    • getFrequency

      public double getFrequency()
    • setFrequency

      public void setFrequency​(double v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      protected static long create​(SKPhysicsBody bodyA, SKPhysicsBody bodyB, CGPoint anchorA, CGPoint anchorB)