summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-02-10 23:26:22 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-02-10 23:26:22 -0500
commit2e1192dc0bccd79f00fcfef266809f3d1787aafa (patch)
treead2449562b79a4f1ec2cfd253053f36453d93d06 /src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java
parent41ce65d9ae3e75cd374b6f5f99486ee057194a06 (diff)
downloadfourpuzzle-2e1192dc0bccd79f00fcfef266809f3d1787aafa.tar.gz
fourpuzzle-2e1192dc0bccd79f00fcfef266809f3d1787aafa.tar.bz2
fourpuzzle-2e1192dc0bccd79f00fcfef266809f3d1787aafa.zip
Engine: Changed default TitleScreen
Replaced default TitleScreen (which was the TPOAHT Title Screen for testing reasons) with a FourPuzzle Title Screen. Also moved the Title Menu to the bottom-left corner.
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java')
-rwxr-xr-xsrc/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java b/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java index ad1ffe1..6e87dd0 100755 --- a/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java +++ b/src/com/fourisland/fourpuzzle/gamestate/TitleScreenGameState.java
@@ -34,7 +34,7 @@ public class TitleScreenGameState implements GameState {
34 Audio.playMusic(Database.getMusic(Music.Title)); 34 Audio.playMusic(Database.getMusic(Music.Title));
35 35
36 choices = new ChoiceWindow(Arrays.asList(Database.getVocab(Vocabulary.NewGame), Database.getVocab(Vocabulary.LoadGame), Database.getVocab(Vocabulary.EndGame)), true); 36 choices = new ChoiceWindow(Arrays.asList(Database.getVocab(Vocabulary.NewGame), Database.getVocab(Vocabulary.LoadGame), Database.getVocab(Vocabulary.EndGame)), true);
37 wx = (Game.WIDTH/2)-(choices.getWidth()/2); 37 wx = (Game.WIDTH/5)-(choices.getWidth()/2);
38 wy = (Game.HEIGHT/4*3)-(choices.getHeight()/2); 38 wy = (Game.HEIGHT/4*3)-(choices.getHeight()/2);
39 } 39 }
40 40
@@ -94,12 +94,12 @@ public class TitleScreenGameState implements GameState {
94 { 94 {
95 choices.moveUp(); 95 choices.moveUp();
96 96
97 pt.setTimer(1); 97 pt.setTimer(2);
98 } else if (Game.getKey().getKeyCode() == KeyEvent.VK_DOWN) 98 } else if (Game.getKey().getKeyCode() == KeyEvent.VK_DOWN)
99 { 99 {
100 choices.moveDown(); 100 choices.moveDown();
101 101
102 pt.setTimer(1); 102 pt.setTimer(2);
103 } 103 }
104 } 104 }
105 } 105 }