internal EnemySpawnerData(IEnemySpawnerComponent spawnerComponent)
 {
     enemy       = spawnerComponent.enemyPrefab;
     spawnTime   = spawnerComponent.spawnTime;
     spawnPoints = spawnerComponent.spawnPoints;
     timeLeft    = spawnTime;
 }
Пример #2
0
 internal EnemySpawnerData(IEnemySpawnerComponent spawnerComponent)
 {
     enemy         = spawnerComponent.enemyPrefab;
     spawnQuantity = spawnerComponent.spawnQuantity;
     spawnPoints   = spawnerComponent.spawnPoints;
 }
 public EnemySpawnerEntityDescriptor(IEnemySpawnerComponent[] componentsImplementor)
     : base(null, componentsImplementor)
 {
     _components = componentsImplementor;
 }
 internal EnemySpawnerData(IEnemySpawnerComponent spawnerComponent)
 {
     enemy = spawnerComponent.enemyPrefab;
     spawnTime = spawnerComponent.spawnTime;
     spawnPoints = spawnerComponent.spawnPoints;
     timeLeft = spawnTime;
 }