Skip to content

Object Oriented Analysis(CRC card)

andy-yu-ua edited this page Feb 10, 2023 · 35 revisions

WriteComment

Player

Responsibility Collaborators
represent a player Database
keeps its corresponding information Camera
Comment
DisplayPlayerInfoButton

Database

Responsibility Collaborators
stores the information of players and QR codes QrCode
Player
Geolocation

QRCode

Responsibility Collaborators
store corresponding QR Code QrCodeScanner
Database

QrCodeScanner

Responsibility Collaborators
Scan photo and process it to return the QrCode QrCode
ScanningButton

Geolocation

Responsibility Collaborators
represent and stores the corresponding information of a location Database

Comment

Responsibility Collaborators
represent and store the corresponding information of a comment Player

Camera

Responsibility Collaborators
Implement with the functionality of taking pictures QrCodeScanner
Collaborator Responsibility
---- ----
Database retrieve comment
player Send comment to DB for storing
Comment
Profile

ConfirmLogin

Collaborator Responsibility
Database confirm login
player
Login

SearchPlayerButton

Collaborator Responsibility
Database search for user
player

DisplayNearbyCodeButton

Collaborator Responsibility
Database Display nearby QRcode
QRCode
Map

ScanningButton

Collaborator Responsibility
Database Open camera for scanning
QRCode

DisplayPlayerInfoButton

Collaborator Responsibility
Database represent a Player
player

PlayerSearchPage

Collaborator Responsibility
Database Implements interface to search for other players
player
Collaborator Responsibility
Database represent a Player
player
Collaborator Responsibility
Database represent a Player
player
Collaborator Responsibility
Database represent a Player
player
Collaborator Responsibility
Database represent a Player
player

Clone this wiki locally