diff options
Diffstat (limited to 'src/main/java/Scene.java')
-rw-r--r-- | src/main/java/Scene.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/Scene.java b/src/main/java/Scene.java index a2949fd..0d8a908 100644 --- a/src/main/java/Scene.java +++ b/src/main/java/Scene.java @@ -1,5 +1,11 @@ import java.awt.Graphics; public abstract class Scene { - abstract void render(Graphics g); + 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) {} } |