diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/GameCharacters.java')
-rw-r--r-- | src/com/fourisland/fourpuzzle/GameCharacters.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/fourisland/fourpuzzle/GameCharacters.java b/src/com/fourisland/fourpuzzle/GameCharacters.java index 933b333..211b66d 100644 --- a/src/com/fourisland/fourpuzzle/GameCharacters.java +++ b/src/com/fourisland/fourpuzzle/GameCharacters.java | |||
@@ -17,12 +17,12 @@ public class GameCharacters extends ArrayList<GameCharacter> | |||
17 | private GameCharacters() {} | 17 | private GameCharacters() {} |
18 | 18 | ||
19 | private static GameCharacters INSTANCE = new GameCharacters(); | 19 | private static GameCharacters INSTANCE = new GameCharacters(); |
20 | public static GameCharacters getDefaultParty() | 20 | static GameCharacters getDefaultParty() |
21 | { | 21 | { |
22 | return INSTANCE; | 22 | return INSTANCE; |
23 | } | 23 | } |
24 | 24 | ||
25 | public static GameCharacters createParty() | 25 | static GameCharacters createParty() |
26 | { | 26 | { |
27 | GameCharacters temp = new GameCharacters(); | 27 | GameCharacters temp = new GameCharacters(); |
28 | temp.addAll(INSTANCE); | 28 | temp.addAll(INSTANCE); |
@@ -42,7 +42,7 @@ public class GameCharacters extends ArrayList<GameCharacter> | |||
42 | 42 | ||
43 | Game.setGameState(new GameOverGameState()); | 43 | Game.setGameState(new GameOverGameState()); |
44 | return null; | 44 | return null; |
45 | } | 45 | } |
46 | 46 | ||
47 | public boolean exists(String heroName) { | 47 | public boolean exists(String heroName) { |
48 | for (GameCharacter chara : this) | 48 | for (GameCharacter chara : this) |