diff options
-rw-r--r-- | src/subconscious/graphics/BattleScene.java | 1 | ||||
-rw-r--r-- | src/subconscious/graphics/MapScene.java | 1 | ||||
-rw-r--r-- | src/subconscious/graphics/Palette.java (renamed from src/subconscious/util/Palette.java) | 2 | ||||
-rw-r--r-- | src/subconscious/graphics/Scene.java | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/src/subconscious/graphics/BattleScene.java b/src/subconscious/graphics/BattleScene.java index b21be04..5199ecc 100644 --- a/src/subconscious/graphics/BattleScene.java +++ b/src/subconscious/graphics/BattleScene.java @@ -1,6 +1,5 @@ package subconscious.graphics; -import subconscious.util.Palette; import subconscious.Actor; import subconscious.MapLoader; import subconscious.Tile; diff --git a/src/subconscious/graphics/MapScene.java b/src/subconscious/graphics/MapScene.java index 933526b..93508c4 100644 --- a/src/subconscious/graphics/MapScene.java +++ b/src/subconscious/graphics/MapScene.java @@ -1,6 +1,5 @@ package subconscious.graphics; -import subconscious.util.Palette; import subconscious.Map; import subconscious.Tile; import subconscious.Actor; diff --git a/src/subconscious/util/Palette.java b/src/subconscious/graphics/Palette.java index adab9ad..75937a0 100644 --- a/src/subconscious/util/Palette.java +++ b/src/subconscious/graphics/Palette.java @@ -1,4 +1,4 @@ -package subconscious.util; +package subconscious.graphics; import java.awt.Color; diff --git a/src/subconscious/graphics/Scene.java b/src/subconscious/graphics/Scene.java index 53b936c..6daf9c2 100644 --- a/src/subconscious/graphics/Scene.java +++ b/src/subconscious/graphics/Scene.java @@ -40,6 +40,8 @@ public abstract class Scene extends JPanel protected Scene() { + this.addComponentListener(this); + this.canvasSize = GameWindow.WINDOW_SIZE; this.canvas = new Canvas(); |