jimmy tremblay-Bernier c1bf5a4ca1 initial commit
2022-03-12 22:04:30 -04:00

24 lines
589 B
C#

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