diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/GameState.java')
-rw-r--r-- | src/com/fourisland/fourpuzzle/gamestate/GameState.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/GameState.java b/src/com/fourisland/fourpuzzle/gamestate/GameState.java new file mode 100644 index 0000000..362631d --- /dev/null +++ b/src/com/fourisland/fourpuzzle/gamestate/GameState.java | |||
@@ -0,0 +1,34 @@ | |||
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; | ||
7 | |||
8 | import java.awt.Graphics2D; | ||
9 | |||
10 | /** | ||
11 | * | ||
12 | * @author hatkirby | ||
13 | */ | ||
14 | public interface GameState { | ||
15 | |||
16 | public void initalize() throws Exception; | ||
17 | public void deinitalize() throws Exception; | ||
18 | |||
19 | public void processInput() throws Exception; | ||
20 | public void doGameCycle() throws Exception; | ||
21 | public void render(Graphics2D g) throws Exception; | ||
22 | |||
23 | } | ||
24 | |||
25 | /* | ||
26 | TitleScreen | ||
27 | MapView | ||
28 | Battle | ||
29 | GameOver | ||
30 | Menu | ||
31 | LoadFile | ||
32 | SaveFile | ||
33 | Transition | ||
34 | */ \ No newline at end of file | ||