Example #1
0
        public static CCPhysicsJointFixed Construct(CCPhysicsBody a, CCPhysicsBody b, CCPoint anchr)
        {
            CCPhysicsJointFixed joint = new CCPhysicsJointFixed();

            if (joint != null && joint.Init(a, b, anchr))
            {
                return(joint);
            }

            // CC_SAFE_DELETE(joint);
            return(null);
        }
Example #2
0
        public static CCPhysicsJointFixed Construct(CCPhysicsBody a, CCPhysicsBody b, CCPoint anchr)
		{
			CCPhysicsJointFixed joint = new CCPhysicsJointFixed();

            if (joint != null && joint.Init(a, b, anchr))
			{
				return joint;
			}

			// CC_SAFE_DELETE(joint);
			return null;
		}