Add isEnabled to PhysicsControl interface

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
iwg..ic 11 years ago
parent ebef55aecf
commit 6a39a6b5ba
  1. 6
      engine/src/bullet-common/com/jme3/bullet/control/PhysicsControl.java

@ -56,4 +56,10 @@ public interface PhysicsControl extends Control {
* @param state * @param state
*/ */
public void setEnabled(boolean state); public void setEnabled(boolean state);
/**
* Returns the current enabled state of the physics control
* @return current enabled state
*/
public boolean isEnabled();
} }

Loading…
Cancel
Save