private void ZombieUpdate() { //should handle the timer stuff here zombieTimer += Time.deltaTime; if (zombieTimer > spawnRate) { //should get word from word queue if (currentZombies.Count < maxZombies && WordQueue.HasNextZombieInfo() == true) { ZombieInfo info = WordQueue.GetNextZombieInfo(); if (ZombieFactory != null) { currentZombies.Add(ZombieFactory.SpawnZombie(info)); } } zombieTimer = 0; } }