diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-19 10:27:15 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-19 10:27:15 +0100 |
commit | 7a7007571699eb57bc96cef4cd053a5bd50468b3 (patch) | |
tree | 14b879b399417a59a340c6fda9daf4719a3dbebf /src/MapEditor.java | |
parent | Add Actor.SkillSet, remove useless members in various strucutres (diff) | |
download | Subconscious-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.java | 10 |
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()); |