summaryrefslogtreecommitdiffstats
path: root/src/subconscious/graphics/GameWindow.java
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-12-12 03:10:38 +0100
committerNao Pross <naopross@thearcway.org>2018-12-12 03:10:38 +0100
commitc074c86b0c4a0c6be75c023c2c7cd975ef5cab47 (patch)
treecc8d1bec3eba89c1e889900e4082489d25528920 /src/subconscious/graphics/GameWindow.java
parentSeparate UPS from FPS, make thread for GameWindow (graphics thread) (diff)
downloadSubconscious-java-c074c86b0c4a0c6be75c023c2c7cd975ef5cab47.tar.gz
Subconscious-java-c074c86b0c4a0c6be75c023c2c7cd975ef5cab47.zip
Minor access and synchronization corrections
Diffstat (limited to 'src/subconscious/graphics/GameWindow.java')
-rw-r--r--src/subconscious/graphics/GameWindow.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/subconscious/graphics/GameWindow.java b/src/subconscious/graphics/GameWindow.java
index 66fe26e..15faeef 100644
--- a/src/subconscious/graphics/GameWindow.java
+++ b/src/subconscious/graphics/GameWindow.java
@@ -28,8 +28,7 @@ public class GameWindow extends Frame implements Runnable, WindowListener {
private volatile Scene scene = null;
private Thread sceneThread = null;
// stack of loaded scenes in the background that are paused
- private volatile Stack<SimpleEntry<Scene, Thread>> loadedScenes = new Stack<>();
-
+ private Stack<SimpleEntry<Scene, Thread>> loadedScenes = new Stack<>();
private volatile Game game;
public GameWindow(Game g) {