Add isEnabled to PhysicsControl interface
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
ebef55aecf
commit
6a39a6b5ba
@ -42,7 +42,7 @@ public interface PhysicsControl extends Control {
|
||||
|
||||
/**
|
||||
* Only used internally, do not call.
|
||||
* @param space
|
||||
* @param space
|
||||
*/
|
||||
public void setPhysicsSpace(PhysicsSpace space);
|
||||
|
||||
@ -56,4 +56,10 @@ public interface PhysicsControl extends Control {
|
||||
* @param state
|
||||
*/
|
||||
public void setEnabled(boolean state);
|
||||
|
||||
/**
|
||||
* Returns the current enabled state of the physics control
|
||||
* @return current enabled state
|
||||
*/
|
||||
public boolean isEnabled();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user