blob: 139553c466e78fde321f4da043df220cb14c7b8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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) {}
}
|