diff options
Diffstat (limited to 'src/com/fourisland')
-rw-r--r-- | src/com/fourisland/frigidearth/Main.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/com/fourisland/frigidearth/Main.java b/src/com/fourisland/frigidearth/Main.java new file mode 100644 index 0000000..4301118 --- /dev/null +++ b/src/com/fourisland/frigidearth/Main.java | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * To change this template, choose Tools | Templates | ||
3 | * and open the template in the editor. | ||
4 | */ | ||
5 | package com.fourisland.frigidearth; | ||
6 | |||
7 | import javax.swing.JFrame; | ||
8 | |||
9 | /** | ||
10 | * | ||
11 | * @author hatkirby | ||
12 | */ | ||
13 | public class Main | ||
14 | { | ||
15 | static final int GAME_WIDTH = 15; | ||
16 | static final int GAME_HEIGHT = 10; | ||
17 | static final int TILE_WIDTH = 32; | ||
18 | static final int TILE_HEIGHT = 32; | ||
19 | |||
20 | public static void main(String[] args) | ||
21 | { | ||
22 | JFrame mainWindow = new JFrame("Frigid Earth"); | ||
23 | mainWindow.setSize(GAME_WIDTH*TILE_WIDTH, GAME_HEIGHT*TILE_HEIGHT); | ||
24 | mainWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); | ||
25 | mainWindow.setVisible(true); | ||
26 | } | ||
27 | } | ||