diff options
Diffstat (limited to 'src/esieequest/view/Viewable.java')
-rw-r--r-- | src/esieequest/view/Viewable.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/esieequest/view/Viewable.java b/src/esieequest/view/Viewable.java index 0b23b8c..d4da79b 100644 --- a/src/esieequest/view/Viewable.java +++ b/src/esieequest/view/Viewable.java | |||
@@ -33,6 +33,11 @@ public interface Viewable { | |||
33 | public void enable(); | 33 | public void enable(); |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Disables the user interface. | ||
37 | */ | ||
38 | public void disable(); | ||
39 | |||
40 | /** | ||
36 | * Displays a message. | 41 | * Displays a message. |
37 | * | 42 | * |
38 | * @param message | 43 | * @param message |
@@ -41,9 +46,12 @@ public interface Viewable { | |||
41 | public void echo(final String message); | 46 | public void echo(final String message); |
42 | 47 | ||
43 | /** | 48 | /** |
44 | * Disables the user interface. | 49 | * Updates the view to match the current quest. |
50 | * | ||
51 | * @param quest | ||
52 | * the current quest to display | ||
45 | */ | 53 | */ |
46 | public void disable(); | 54 | public void updateQuest(final Quest quest); |
47 | 55 | ||
48 | /** | 56 | /** |
49 | * Updates the view to match the current location. | 57 | * Updates the view to match the current location. |
@@ -58,14 +66,6 @@ public interface Viewable { | |||
58 | public void updateLocation(final Room room, final Direction direction, final Side side); | 66 | public void updateLocation(final Room room, final Direction direction, final Side side); |
59 | 67 | ||
60 | /** | 68 | /** |
61 | * Updates the view to match the current quest. | ||
62 | * | ||
63 | * @param quest | ||
64 | * the current quest to display | ||
65 | */ | ||
66 | public void updateQuest(final Quest quest); | ||
67 | |||
68 | /** | ||
69 | * Updates the view to display the items contained in the inventory | 69 | * Updates the view to display the items contained in the inventory |
70 | * | 70 | * |
71 | * @param items | 71 | * @param items |