Skip to content

Object Oriented Analysis

tracualberta edited this page Feb 15, 2023 · 12 revisions

Actor

Player

Responsibilites Collaborators
Scan QR Codes with camera Camera
Collect points Leaderboard
Gets Rank from leaderboard Score
Handles an array of QR objects QR

Owner

Responsibilities Collaborators

Camera

Responsibilities Collaborators
Sends QR contents to QR Class QR
Takes picture of QR code Player
Records geolocation

QR

Responsibilities Collaborators
Generates a score from a QR's content and stores it Player
Generate avatar(name and picture) Camera
Holds comments Comment
Gets geolocation from Camera
Holds Player that discovered it

QRComment

Responsibilities Collaborators
Holds the comment contents Player
Holds the commenter (who commented) QR
Holds comments

Leaderboard

Responsibilities Collaborators
Generate player rank based on points Player
Sort based on points
Display rankings

Map

Responsibilities Collaborators
Display QR code geographically QR
holds list of all QR codes Camera

Clone this wiki locally