Slash-The-Hordes/assets/Scripts/Game/Data/GameSettings.ts
2022-11-28 11:49:16 +01:00

25 lines
668 B
TypeScript

export class GameSettings {
public player: PlayerSettings = new PlayerSettings();
public weapon: WeaponSettings = new WeaponSettings();
public upgrades: UpgradeSettings = new UpgradeSettings();
}
export class PlayerSettings {
public defaultHP = 0;
public requiredXP: number[] = [];
public collisionDelay = 0;
}
export class WeaponSettings {
public strikeDelay = 0;
public damage = 0;
}
export class UpgradeSettings {
public maxWeaponLengthUpgrades = 0;
public maxWeaponDamageUpgrades = 0;
public maxHorizontalProjectileUpgrades = 0;
public maxVerticalProjectileUpgrades = 0;
public maxRegenerationUpgrades = 0;
}