blob: 1aa74c14dc395e57853e144ebcc3c4e4d5294825 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.fourisland.fourpuzzle.gamestate.mapview.event;
import com.fourisland.fourpuzzle.Direction;
import com.fourisland.fourpuzzle.Layer;
import java.awt.Graphics;
import java.awt.Point;
/**
*
* @author hatkirby
*/
public interface Event {
public String getLabel();
public Point getLocation();
public void setLocation(Point location);
public void setLocation(int x, int y);
public void render(Graphics g) throws Exception;
public Direction getDirection() throws Exception;
public void setDirection(Direction direction) throws Exception;
public boolean isMoving();
public void startMoving(Direction direction) throws Exception;
public Layer getLayer() throws Exception;
}
|