aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/Scene.java
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-11 21:25:48 +0100
committerNao Pross <naopross@thearcway.org>2018-02-11 21:25:48 +0100
commite7d4d7e9bdb628b1ae7966c96ffc40b1c192cf66 (patch)
tree051a2d11cc12cac5e2c40ad174a77600f9c1f077 /src/main/java/Scene.java
parentadd pan, add zoom, add weapon (diff)
downloadSubconscious-old-e7d4d7e9bdb628b1ae7966c96ffc40b1c192cf66.tar.gz
Subconscious-old-e7d4d7e9bdb628b1ae7966c96ffc40b1c192cf66.zip
Remove redundant scenesOffsetX/Y, replaced with panX
Diffstat (limited to 'src/main/java/Scene.java')
-rw-r--r--src/main/java/Scene.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/Scene.java b/src/main/java/Scene.java
index 139553c..f0da8e2 100644
--- a/src/main/java/Scene.java
+++ b/src/main/java/Scene.java
@@ -1,13 +1,12 @@
import java.awt.Graphics;
public abstract class Scene {
- protected int sceneYOffset = 0;
- protected int sceneXOffset = 0;
abstract public void render(Graphics g);
public void mouseHover(int x, int y) {}
public void mouseClicked(int x, int y) {}
+
public void zoom(int value) {}
public void pan(int x, int y) {}
}