Package com.deco2800.game.files.stats
Class GameRecords.Record
java.lang.Object
com.deco2800.game.files.stats.GameRecords.Record
- Enclosing class:
- GameRecords
public static class GameRecords.Record
extends java.lang.Object
The Record class keeps a tab of the score, game number and
achievements unlocked in that particular game.
Games are identified based on the game numbers.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<BaseAchievementConfig>
achievements
List of unlocked achievementsint
game
The game number (nth game played)java.lang.String
id
A unique record idGameRecords.Score
scoreData
Score details of that particular game -
Constructor Summary
Constructors Constructor Description Record()
-
Method Summary
-
Field Details
-
game
public int gameThe game number (nth game played) -
id
public java.lang.String idA unique record id -
achievements
List of unlocked achievements -
scoreData
Score details of that particular game
-
-
Constructor Details
-
Record
public Record()
-