mirror of
https://github.com/MartinKral/Slash-The-Hordes
synced 2025-01-07 11:33:11 +00:00
25 lines
668 B
TypeScript
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;
|
|
}
|