jimmy tremblay-Bernier 86fbe09b20 initial commit
2022-03-12 20:32:56 -05: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();
}