blob: 887e52b4b9f38d9b92668fe915a445e93bad6635 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* 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 com.fourisland.fourpuzzle.gamestate.mapview.Map;
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);
public int getRenderX();
public int getRenderY();
public int getMovingX();
public int getMovingY();
public Direction getDirection();
public void setDirection(Direction direction);
public boolean isMoving();
public boolean startMoving(Direction direction);
public Layer getLayer();
public boolean isOccupyingSpace(int x, int y);
public void setAnimationStep(int animStep);
public int getAnimationStep();
public void setParentMap(Map parentMap);
public Map getParentMap();
}
|