summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/gamestate/GameState.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/GameState.java')
-rw-r--r--src/com/fourisland/fourpuzzle/gamestate/GameState.java34
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
6package com.fourisland.fourpuzzle.gamestate;
7
8import java.awt.Graphics2D;
9
10/**
11 *
12 * @author hatkirby
13 */
14public 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