浏览代码

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;