internal EnemySpawnerData(IEnemySpawnerComponent spawnerComponent) { enemy = spawnerComponent.enemyPrefab; spawnTime = spawnerComponent.spawnTime; spawnPoints = spawnerComponent.spawnPoints; timeLeft = spawnTime; }
internal EnemySpawnerData(IEnemySpawnerComponent spawnerComponent) { enemy = spawnerComponent.enemyPrefab; spawnQuantity = spawnerComponent.spawnQuantity; spawnPoints = spawnerComponent.spawnPoints; }
public EnemySpawnerEntityDescriptor(IEnemySpawnerComponent[] componentsImplementor) : base(null, componentsImplementor) { _components = componentsImplementor; }