diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/viewpoint/FixedViewpoint.java')
-rw-r--r-- | src/com/fourisland/fourpuzzle/gamestate/mapview/viewpoint/FixedViewpoint.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/viewpoint/FixedViewpoint.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/viewpoint/FixedViewpoint.java new file mode 100644 index 0000000..20a6dd0 --- /dev/null +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/viewpoint/FixedViewpoint.java | |||
@@ -0,0 +1,33 @@ | |||
1 | /* | ||
2 | * To change this template, choose Tools | Templates | ||
3 | * and open the template in the editor. | ||
4 | */ | ||
5 | |||
6 | package com.fourisland.fourpuzzle.gamestate.mapview.viewpoint; | ||
7 | |||
8 | /** | ||
9 | * | ||
10 | * @author hatkirby | ||
11 | */ | ||
12 | public class FixedViewpoint implements Viewpoint { | ||
13 | |||
14 | private int x; | ||
15 | private int y; | ||
16 | |||
17 | public FixedViewpoint(int x, int y) | ||
18 | { | ||
19 | this.x = x; | ||
20 | this.y = y; | ||
21 | } | ||
22 | |||
23 | public int getX() | ||
24 | { | ||
25 | return x; | ||
26 | } | ||
27 | |||
28 | public int getY() | ||
29 | { | ||
30 | return y; | ||
31 | } | ||
32 | |||
33 | } | ||