using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class AbstractWaveLogic : MonoBehaviour { protected WaveObject waveObject; protected List paths; protected int currentWaveNumber; public void Setup(WaveObject wo) { waveObject = wo; paths = new List(GameObject.FindGameObjectsWithTag("path")); } public virtual void StartWave(int wn) { currentWaveNumber = wn; } public abstract bool StartWaveValidation(); public abstract bool EndWaveValidation(); }