Test values

This commit is contained in:
Martin
2022-12-19 12:00:55 +01:00
parent 83c0be7961
commit e8fc5a1ec9
6 changed files with 54 additions and 7 deletions

View File

@@ -78,20 +78,24 @@ export class GeneralEnemySpawnerSettings {
public cooldown = 0;
}
export class WaveEnemySpawnerSettings {
export class WaveEnemySpawnerSettings implements ISpawner {
public common = new GeneralEnemySpawnerSettings();
public enemiesToSpawn = 0;
}
export class CircularEnemySpawnerSettings {
export class CircularEnemySpawnerSettings implements ISpawner {
public common = new GeneralEnemySpawnerSettings();
public enemiesToSpawn = 0;
}
export class IndividualEnemySpawnerSettings {
export class IndividualEnemySpawnerSettings implements ISpawner {
public common = new GeneralEnemySpawnerSettings();
}
export interface ISpawner {
common: GeneralEnemySpawnerSettings;
}
export class EnemySettings {
public id = "";
public moveType = "";