From 6a39a6b5bae5a7d8987a797e8b0d69a43778f4b3 Mon Sep 17 00:00:00 2001 From: "iwg..ic" Date: Wed, 9 Oct 2013 12:19:14 +0000 Subject: [PATCH] Add isEnabled to PhysicsControl interface git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/bullet/control/PhysicsControl.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/engine/src/bullet-common/com/jme3/bullet/control/PhysicsControl.java b/engine/src/bullet-common/com/jme3/bullet/control/PhysicsControl.java index 013297544..693c15590 100644 --- a/engine/src/bullet-common/com/jme3/bullet/control/PhysicsControl.java +++ b/engine/src/bullet-common/com/jme3/bullet/control/PhysicsControl.java @@ -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(); }