소스 검색

Removed setEnabled() and isEnabled() from the Control
interface since no engine uses of Control will ever call
these methods. The functionality is still left in
AbstractControl which makes more sense since it is up
to the control implementation to enable or disable itself
as it sees fit.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9268 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

PSp..om 13 년 전
부모
커밋
198979bf5a
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      engine/src/core/com/jme3/scene/control/Control.java

+ 0 - 12
engine/src/core/com/jme3/scene/control/Control.java

@@ -61,18 +61,6 @@ public interface Control extends Savable {
      */
     public void setSpatial(Spatial spatial);
 
-    /**
-     * @param enabled Enable or disable the control. If disabled, update()
-     * should do nothing.
-     */
-    public void setEnabled(boolean enabled);
-
-    /**
-     * @return True if enabled, false otherwise.
-     * @see Control#setEnabled(boolean)
-     */
-    public boolean isEnabled();
-
     /**
      * Updates the control. This should not be called from user code.
      * @param tpf Time per frame.