Class QRCodeLeaderboardEntry
- java.lang.Object
-
- com.cmput301w23t09.qrhunter.leaderboard.LeaderboardEntry
-
- com.cmput301w23t09.qrhunter.leaderboard.QRCodeLeaderboardEntry
-
- All Implemented Interfaces:
LeaderboardAdapterItem<LeaderboardEntry>
public class QRCodeLeaderboardEntry extends LeaderboardEntry
Represents the QR leaderboard entry this entry represents
-
-
Constructor Summary
Constructors Constructor Description QRCodeLeaderboardEntry(int position, QRCode qrCode, long score, java.lang.String scoreSuffix)
Constructor for a leaderboard entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QRCode
getQRCode()
Retrieve the QRCode for the entry this represents-
Methods inherited from class com.cmput301w23t09.qrhunter.leaderboard.LeaderboardEntry
getName, getPosition, getScore, getScoreSuffix, getView
-
-
-
-
Constructor Detail
-
QRCodeLeaderboardEntry
public QRCodeLeaderboardEntry(int position, QRCode qrCode, long score, java.lang.String scoreSuffix)
Constructor for a leaderboard entry- Parameters:
qrCode
- qrCode of the leaderboard entryscore
- score of the leaderboard entryscoreSuffix
- suffix to use for the leaderboard entry
-
-
Method Detail
-
getQRCode
public QRCode getQRCode()
Retrieve the QRCode for the entry this represents- Returns:
- the qrcode
-
-