Class WorldObserver.FrictionJointChange

java.lang.Object
net.dermetfan.gdx.physics.box2d.WorldObserver.JointChange<com.badlogic.gdx.physics.box2d.joints.FrictionJoint>
net.dermetfan.gdx.physics.box2d.WorldObserver.FrictionJointChange
All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable, WorldObserver.Change<com.badlogic.gdx.physics.box2d.joints.FrictionJoint>
Enclosing class:
WorldObserver

public static class WorldObserver.FrictionJointChange
extends WorldObserver.JointChange<com.badlogic.gdx.physics.box2d.joints.FrictionJoint>
the changes of a FrictionJoint
Since:
0.7.1
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.lang.Float newMaxForce  
    java.lang.Float newMaxTorque  

    Fields inherited from class net.dermetfan.gdx.physics.box2d.WorldObserver.JointChange

    newUserData
  • Constructor Summary

    Constructors
    Constructor Description
    FrictionJointChange()  
  • Method Summary

    Modifier and Type Method Description
    void apply​(com.badlogic.gdx.physics.box2d.joints.FrictionJoint joint)  
    <C extends WorldObserver.Change<com.badlogic.gdx.physics.box2d.joints.FrictionJoint>>
    boolean
    newValuesEqual​(C other)
    if the values applied in WorldObserver.Change.apply(Object) equal
    void reset()  
    boolean update​(com.badlogic.gdx.physics.box2d.joints.FrictionJoint joint)  

    Methods inherited from class net.dermetfan.gdx.physics.box2d.WorldObserver.JointChange

    obtainFor

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • newMaxForce

      public java.lang.Float newMaxForce
    • newMaxTorque

      public java.lang.Float newMaxTorque
  • Constructor Details

    • FrictionJointChange

      public FrictionJointChange()
  • Method Details