diff options
Diffstat (limited to 'src/esieequest/view/Viewable.java')
-rw-r--r-- | src/esieequest/view/Viewable.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/esieequest/view/Viewable.java b/src/esieequest/view/Viewable.java index fa53e1a..c650759 100644 --- a/src/esieequest/view/Viewable.java +++ b/src/esieequest/view/Viewable.java | |||
@@ -88,4 +88,29 @@ public interface Viewable { | |||
88 | */ | 88 | */ |
89 | public void stopMusic(); | 89 | public void stopMusic(); |
90 | 90 | ||
91 | /** | ||
92 | * Toggles the sound. | ||
93 | */ | ||
94 | public void toggleSound(); | ||
95 | |||
96 | /** | ||
97 | * Loads a saved game file. | ||
98 | * | ||
99 | * @param path | ||
100 | * the path of the file | ||
101 | * | ||
102 | * @return the serialised Game | ||
103 | */ | ||
104 | public String load(final String path); | ||
105 | |||
106 | /** | ||
107 | * Saves a game as a file. | ||
108 | * | ||
109 | * @param path | ||
110 | * the path of the file | ||
111 | * @param serialisedGame | ||
112 | * the serialised Game | ||
113 | */ | ||
114 | public void save(final String path, final String serialisedGame); | ||
115 | |||
91 | } | 116 | } |