Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public class BoneLink extends PhysicsLink {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public BoneLink() {
protected BoneLink() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ abstract public class PhysicsLink
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsLink() {
protected PhysicsLink() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class TorsoLink extends PhysicsLink {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public TorsoLink() {
protected TorsoLink() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -65,7 +65,7 @@ public class ChildCollisionShape implements Savable {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public ChildCollisionShape() {
protected ChildCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -136,7 +136,7 @@ public class BetterCharacterControl extends AbstractPhysicsControl implements Ph
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public BetterCharacterControl() {
protected BetterCharacterControl() {
jumpForce = new Vector3f();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -86,7 +86,7 @@ public class GhostControl extends PhysicsGhostObject implements PhysicsControl,
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public GhostControl() {
protected GhostControl() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -89,7 +89,7 @@ public class RigidBodyControl extends PhysicsRigidBody implements PhysicsControl
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public RigidBodyControl() {
protected RigidBodyControl() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -80,7 +80,7 @@ public class VehicleControl extends PhysicsVehicle implements PhysicsControl, Jm
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public VehicleControl() {
protected VehicleControl() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -57,7 +57,7 @@ public class BoxCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public BoxCollisionShape() {
protected BoxCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -64,7 +64,7 @@ public class CapsuleCollisionShape extends CollisionShape{
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public CapsuleCollisionShape() {
protected CapsuleCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -65,7 +65,7 @@ public class ConeCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public ConeCollisionShape() {
protected ConeCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -62,7 +62,7 @@ public class CylinderCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public CylinderCollisionShape() {
protected CylinderCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -68,7 +68,7 @@ public class GImpactCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public GImpactCollisionShape() {
protected GImpactCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -93,7 +93,7 @@ public class HeightfieldCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public HeightfieldCollisionShape() {
protected HeightfieldCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -56,7 +56,7 @@ public class HullCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public HullCollisionShape() {
protected HullCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -75,7 +75,7 @@ public class MeshCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public MeshCollisionShape() {
protected MeshCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -56,7 +56,7 @@ public class PlaneCollisionShape extends CollisionShape{
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PlaneCollisionShape() {
protected PlaneCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -57,7 +57,7 @@ public class SimplexCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SimplexCollisionShape() {
protected SimplexCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -57,7 +57,7 @@ public class SphereCollisionShape extends CollisionShape {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SphereCollisionShape() {
protected SphereCollisionShape() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -64,7 +64,7 @@ public class ConeJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public ConeJoint() {
protected ConeJoint() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -80,7 +80,7 @@ public class HingeJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public HingeJoint() {
protected HingeJoint() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -76,7 +76,7 @@ public abstract class PhysicsJoint implements Savable {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsJoint() {
protected PhysicsJoint() {
}

/**
Expand Down Expand Up @@ -208,8 +208,8 @@ public void write(JmeExporter ex) throws IOException {
*/
public void read(JmeImporter im) throws IOException {
InputCapsule capsule = im.getCapsule(this);
this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", new PhysicsRigidBody()));
this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", new PhysicsRigidBody());
this.nodeA = ((PhysicsRigidBody) capsule.readSavable("nodeA", null));
this.nodeB = (PhysicsRigidBody) capsule.readSavable("nodeB", null);
this.pivotA = (Vector3f) capsule.readSavable("pivotA", new Vector3f());
this.pivotB = (Vector3f) capsule.readSavable("pivotB", new Vector3f());
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -57,7 +57,7 @@ public class Point2PointJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public Point2PointJoint() {
protected Point2PointJoint() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -99,7 +99,7 @@ public class SixDofJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SixDofJoint() {
protected SixDofJoint() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -60,7 +60,7 @@ public class SliderJoint extends PhysicsJoint {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public SliderJoint() {
protected SliderJoint() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class PhysicsCharacter extends PhysicsCollisionObject {
* No-argument constructor needed by SavableClassUtil. Do not invoke
* directly!
*/
public PhysicsCharacter() {
protected PhysicsCharacter() {
}

/**
Expand Down
Loading