summaryrefslogtreecommitdiffstats
path: root/src/subconscious/graphics/BattleScene.java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/subconscious/graphics/BattleScene.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/subconscious/graphics/BattleScene.java b/src/subconscious/graphics/BattleScene.java
index 1b5e990..2c0efa4 100644
--- a/src/subconscious/graphics/BattleScene.java
+++ b/src/subconscious/graphics/BattleScene.java
@@ -30,7 +30,7 @@ import javax.swing.JPanel;
import javax.swing.JButton;
@SuppressWarnings("serial")
-public class BattleScene extends MapScene {
+public class BattleScene extends MapScene implements ActionListener {
private enum Mode {
NONE, ATTACK, MOVE
@@ -199,7 +199,6 @@ public class BattleScene extends MapScene {
@Override
public void mouseClicked(MouseEvent e) {
- int tileSize = this.maxSize/10;
Point2D p = new Point2D.Double(e.getX(), e.getY());
try {
@@ -263,7 +262,6 @@ public class BattleScene extends MapScene {
this.realX = e.getX();
this.realY = e.getY();
- int tileSize = this.maxSize/10;
Point2D p = new Point2D.Double(e.getX(), e.getY());
try {