idle-survivors/Assets/Scripts/Level/LevelDirector.cs
Michael 7b48612c4b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Implement wave based spawning of enemies #11
Implements basic waves of enemies that spawn. #11

Reviewed-on: #16
Reviewed-by: zephyr <zephyr@noreply.localhost>
Co-authored-by: Michael <mep053@gmail.com>
Co-committed-by: Michael <mep053@gmail.com>
2023-08-10 16:24:42 -05:00

18 lines
372 B
C#

using System;
using System.Collections.Generic;
using UnityEngine;
using Wave;
namespace Level
{
public class LevelDirector : MonoBehaviour
{
[SerializeField] private WaveSpawner waveSpawner;
[SerializeField] private List<SpawnWaveSO> spawnWaves;
private void Start()
{
waveSpawner.Begin(spawnWaves);
}
}
}