void Start()
 {
     if (SpawnPoints.Length == 0)
     {
         Debug.Log("No spawn points");
     }
     waves         = new Wave[api.getLocationWaves(GlobalControl.Instance.getLocationIndex())];
     waveCountdown = timeBetweenWaves;
 }
 // Use this for initialization
 void Start()
 {
     locationWaves = mainApi.getLocationWaves(0);
 }