소스 검색

Update LightsDebugState: privatize fields

Wyatt Gillette 3 달 전
부모
커밋
21849d2744
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java

+ 5 - 5
jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java

@@ -84,11 +84,11 @@ public class LightsDebugState extends BaseAppState {
     private final ArrayDeque<Light> lightDeque = new ArrayDeque<>();
     private Predicate<Light> lightFilter = x -> true; // Identity Function
 
-    protected ViewPort viewPort;
-    protected AssetManager assetManager;
-    protected Material debugMaterial;
-    protected Node debugNode;
-    protected Spatial scene; // The scene whose lights will be debugged
+    private ViewPort viewPort;
+    private AssetManager assetManager;
+    private Material debugMaterial;
+    private Node debugNode;
+    private Spatial scene; // The scene whose lights will be debugged
 
     private boolean showOnTop = true;
     private float lightProbeScale = 1.0f;