summaryrefslogtreecommitdiffstats
path: root/src/subconscious/graphics/BattleScene.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/subconscious/graphics/BattleScene.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/subconscious/graphics/BattleScene.java b/src/subconscious/graphics/BattleScene.java
index 5cdfad7..b1def18 100644
--- a/src/subconscious/graphics/BattleScene.java
+++ b/src/subconscious/graphics/BattleScene.java
@@ -33,6 +33,7 @@ import javax.swing.JButton;
@SuppressWarnings("serial")
public class BattleScene extends MapScene implements ActionListener {
+ // TODO: move out of graphics and rename Turn or TurnState
private enum Mode {
NONE, ATTACK, MOVE
};
@@ -63,7 +64,6 @@ public class BattleScene extends MapScene implements ActionListener {
this.setLayout(new BorderLayout());
- // TODO: make a method buildUi() ?
JPanel bottomPanel = new JPanel();
bottomPanel.setLayout(new GridLayout(1,4));
@@ -91,7 +91,13 @@ public class BattleScene extends MapScene implements ActionListener {
}
@Override
- protected void absoluteRender(Graphics2D g) {
+ protected void build() {
+
+ }
+
+ @Override
+ protected void render(Graphics2D g) {
+ super.render(g);
//draw cursor
//g.setColor(Palette.BLUE);
//g.fillOval(this.realX-10*this.guiSize, this.realY-10*this.guiSize, 20*this.guiSize, 20*this.guiSize);