Skip to content

Team1 UML Diagrams (Sprint 2)

wenqi6 edited this page Oct 19, 2021 · 1 revision

Class Diagram

UML class diagrams serve to describe the information about classes in a program and the relationships between individual classes.

All Object Oriented languages are inseparable from the concept of classes, and understanding the design of classes in a program is half the battle. UML class diagrams were developed to describe the information about classes and the relationships between classes in an abstract way, without the limitations of the language. This is the role of UML class diagrams.

All the methods already completed by team1 will be shown in a class diagram

Class diagram

classDiagram

Sequence Diagram

A sequence diagram shows the dynamic collaboration between multiple objects by describing the temporal order in which messages are sent between them.

The focus of a sequence diagram is on the sequence of messages, that is, the description of how messages are sent and received between objects. The temporal order in which messages are transmitted between objects is represented.

Advantages of sequence diagrams: emphasise the order in which message events occur, making it easier to illustrate the process of event flow.

The way to navigate a sequence diagram is to view the messages exchanged between objects from top to bottom.

All the methods already completed by team1 in sprint2 will be shown in a sequence diagram

Sequence diagram for draw() in MainGameScoreDisplay

MainGameScoreDisplay

Sequence diagram for getScore() in MainGameScoreDisplay

MainGameScoreDisplay

Sequence diagram for new() in MainGameScoreDisplay

MainGameScoreDisplay

Sequence diagram for tick() in MainGameScoreDisplay

MainGameScoreDisplay

Sequence diagram for updatePlayerHealthUI() in MainGameScoreDisplay

MainGameScoreDisplay

Sequence diagram for addActors() in MainGmaeScoreDisplay

MainGameScoreDisplay

Sequence diagram for countDown() in MainGmaeScoreDisplay

MainGameScoreDisplay

Sequence diagram for create() in MainGmaeScoreDisplay

MainGameScoreDisplay

Sequence diagram for dispose() in MainGmaeScoreDisplay

MainGameScoreDisplay

Sequence diagram for changeScore() in ScoreComponent

ScoreComponent

Sequence diagram for create() in ScoreComponent

ScoreComponent

Sequence diagram for getScore() in ScoreComponent

ScoreComponent

Sequence diagram for new() in ScoreComponent

ScoreComponent

Sequence diagram for tickScore() in ScoreComponent

ScoreComponent

Sequence diagram for writeScoreToLeaderBoard() in ScoreComponent

ScoreComponent

Sequence diagram for addActors() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for create() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for dispose() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for draw() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for existMenu() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for makeLeaderBoardTable() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for makeMenuBtns() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for new() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for update() in LeaderBoardDisplay

LeaderBoardDisplay

Sequence diagram for new() in LeaderBoardScreen

LeaderBoardScreen

Sequence diagram for onLeaderBoard() in MainMenuAction

MainMenuAction
Clone this wiki locally