diff options
author | Nao Pross <naopross@thearcway.org> | 2018-12-12 03:10:38 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-12-12 03:10:38 +0100 |
commit | c074c86b0c4a0c6be75c023c2c7cd975ef5cab47 (patch) | |
tree | cc8d1bec3eba89c1e889900e4082489d25528920 /src/subconscious/graphics/GameWindow.java | |
parent | Separate UPS from FPS, make thread for GameWindow (graphics thread) (diff) | |
download | Subconscious-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.java | 3 |
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) { |