Skip to content

Commit 239a5e8

Browse files
committed
refactor: move more Scene statics to private on instance
1 parent 67b0ce3 commit 239a5e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/org/runejs/client/scene/Scene.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ public class Scene {
3737

3838
public static boolean lowMemory = true;
3939
public static int cycle;
40-
public static InteractiveObject[] interactiveObjects = new InteractiveObject[100];
41-
public static LinkedList tileList = new LinkedList();
4240
public static int anInt109 = 0;
4341

4442
public SceneTile[][][] tileArray;
@@ -94,6 +92,9 @@ public class Scene {
9492
private SceneCluster[] processedCullingClusters = new SceneCluster[500];
9593
private int[] cullingClusterPointer = new int[mapSizeZ];
9694
private boolean[][] currentTileVisibilityMap;
95+
96+
private InteractiveObject[] interactiveObjects = new InteractiveObject[100];
97+
private LinkedList tileList = new LinkedList();
9798
private int currentCameraY;
9899
private int currentCameraTileY;
99100
private int currentCameraX;

0 commit comments

Comments
 (0)