Slash-The-Hordes/assets/Scripts/Game/Data/UserData.ts

21 lines
484 B
TypeScript
Raw Permalink Normal View History

2022-12-07 09:47:46 +00:00
export class UserData {
2022-12-22 12:44:28 +00:00
public soundVolume = 1;
public musicVolume = 1;
2022-12-07 09:47:46 +00:00
public game = new GameData();
}
export class GameData {
public goldCoins = 0;
public metaUpgrades = new MetaUpgradesData();
2022-12-13 17:25:19 +00:00
public highscore = 0;
2022-12-07 09:47:46 +00:00
}
export class MetaUpgradesData {
2022-12-16 12:52:54 +00:00
public healthLevel = 0;
2022-12-19 12:17:32 +00:00
public overallDamageLevel = 0;
2022-12-07 09:47:46 +00:00
public projectilePiercingLevel = 0;
public movementSpeedLevel = 0;
2022-12-13 10:58:40 +00:00
public xpGathererLevel = 0;
public goldGathererLevel = 0;
2022-12-07 09:47:46 +00:00
}