summaryrefslogtreecommitdiffstats
path: root/src/MapEditor.java
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-19 10:27:15 +0100
committerNao Pross <naopross@thearcway.org>2018-11-19 10:27:15 +0100
commit7a7007571699eb57bc96cef4cd053a5bd50468b3 (patch)
tree14b879b399417a59a340c6fda9daf4719a3dbebf /src/MapEditor.java
parentAdd Actor.SkillSet, remove useless members in various strucutres (diff)
downloadSubconscious-java-7a7007571699eb57bc96cef4cd053a5bd50468b3.tar.gz
Subconscious-java-7a7007571699eb57bc96cef4cd053a5bd50468b3.zip
Update Scene class (and some derivates) to be abstract
Diffstat (limited to 'src/MapEditor.java')
-rw-r--r--src/MapEditor.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/MapEditor.java b/src/MapEditor.java
index ee07d22..4ca5530 100644
--- a/src/MapEditor.java
+++ b/src/MapEditor.java
@@ -34,8 +34,8 @@ public class MapEditor extends MapScene {
private JFrame actorFrame;
private boolean nukeActor = false;
- public MapEditor(JFrame frame, Sub sub) {
- super(frame, sub);
+ public MapEditor(JFrame frame) {
+ super(frame);
this.setLayout(new BorderLayout());
JPanel bottomPanel = new JPanel();
@@ -69,6 +69,12 @@ public class MapEditor extends MapScene {
}
@Override
+ protected void update(int deltaTime) {}
+
+ @Override
+ protected void absoluteRender(Graphics2D g2d) {}
+
+ @Override
public void mouseClicked(MouseEvent e) {
int tileSize = this.maxSize/10;
Point2D p = new Point2D.Double(e.getX(), e.getY());