forked from nus-cs2103-AY1920S1/addressbook-level3
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
142 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
Actor User as user USER_COLOR | ||
Participant ":UI" as ui UI_COLOR | ||
Participant ":AppManager" as appmanager APPMANAGER_COLOR | ||
Participant ":Logic" as logic LOGIC_COLOR | ||
Participant ":Model" as model MODEL_COLOR | ||
Participant ":Storage" as storage STORAGE_COLOR | ||
|
||
user -[USER_COLOR]> ui : "difficulty hard" | ||
activate ui UI_COLOR | ||
|
||
ui -[UI_COLOR]> appmanager : execute("difficulty hard") | ||
activate appmanager APPMANAGER_COLOR | ||
|
||
appmanager -[APPMANAGER_COLOR]> logic : execute("difficulty hard") | ||
activate logic LOGIC_COLOR | ||
|
||
logic -[LOGIC_COLOR]> model : deletePerson(p) | ||
activate model MODEL_COLOR | ||
|
||
model -[MODEL_COLOR]-> logic | ||
deactivate model | ||
|
||
logic -[LOGIC_COLOR]> storage : saveAddressBook(addressBook) | ||
activate storage STORAGE_COLOR | ||
|
||
storage -[STORAGE_COLOR]> storage : Save to file | ||
activate storage STORAGE_COLOR_T1 | ||
deactivate storage | ||
|
||
storage --[STORAGE_COLOR]> logic | ||
deactivate storage | ||
|
||
logic --[LOGIC_COLOR]> ui | ||
deactivate logic | ||
|
||
ui--[UI_COLOR]> user | ||
deactivate ui | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,6 +134,8 @@ public interface Model { | |
|
||
boolean gameIsOver(); | ||
|
||
boolean bankLoaded(); | ||
|
||
Game getGame(); | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.