Skip to content

Commit

Permalink
Merge pull request #120 from BestDownLoader365/Fix_DG
Browse files Browse the repository at this point in the history
Change picture link
  • Loading branch information
BestDownLoader365 committed Apr 14, 2024
2 parents 1682427 + b0c51e9 commit 69c7490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ Below is how some of the architecture components would interact with each other
![architecture_sequence_diagram](https://raw.githubusercontent.com/AY2324S2-CS2113-W12-3/tp/master/picture/ArchitectureSequenceDiagram.png)
The section below gives more details of each component.
### UI Component (Ui class)
![](/picture/Ui.png)
![](https://raw.githubusercontent.com/AY2324S2-CS2113-W12-3/tp/master/picture/Ui.png)
The Ui class is responsible for managing the user interface aspects of the application. It handles the display
of various elements such as player status, text boxes, maps, inventory, help menu, and messages.

The `Ui` Component,
- contains only one class `Ui.java` for Ui related job
- depends on attributes such as `mapData` or `shopItems` in other classes to print
### Parser Component (Parser class)
![](/picture/Parser.png)
![](https://raw.githubusercontent.com/AY2324S2-CS2113-W12-3/tp/master/picture/Parser.png)
The Parser class package is designed to analyze and parse user commands in a text-based adventure game scenario.
It processes user input and determines the appropriate action to take based on predefined command types.

The parser component,
The `parser` component,
- provides method to read text-based user command
- analyzes and returns the corresponding command type based on the text-based user command

Expand Down Expand Up @@ -140,7 +140,7 @@ an error message is printed outlining the error.
### Saving feature
In the main class, the saving is done in every loop through a method called `saveAllGameFile`.
The following sequence diagram shows how methods are called during saving mechanism.
![](/picture/SavingFeature.png)
![](https://raw.githubusercontent.com/AY2324S2-CS2113-W12-3/tp/master/picture/SavingFeature.png)


## Product scope
Expand Down

0 comments on commit 69c7490

Please sign in to comment.