aboutsummaryrefslogtreecommitdiff
path: root/td/Assets/Scripts/EnemySpawner.cs
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2017-09-29 17:27:14 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2017-09-29 17:27:14 +0200
commit9fbde9c25ee0707379ef7bd7a1b8d4a2e9531437 (patch)
treec266ad8684f8d389b54be541bcef1c74e6aaa882 /td/Assets/Scripts/EnemySpawner.cs
parentda2d66ed82bec696e2d759fc1e9215fabea07ce3 (diff)
downloadTD-9fbde9c25ee0707379ef7bd7a1b8d4a2e9531437.tar.gz
TD-9fbde9c25ee0707379ef7bd7a1b8d4a2e9531437.zip
Small workaround for where the enemy catches player
Diffstat (limited to 'td/Assets/Scripts/EnemySpawner.cs')
-rw-r--r--td/Assets/Scripts/EnemySpawner.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/td/Assets/Scripts/EnemySpawner.cs b/td/Assets/Scripts/EnemySpawner.cs
index f1eeb84..df82b34 100644
--- a/td/Assets/Scripts/EnemySpawner.cs
+++ b/td/Assets/Scripts/EnemySpawner.cs
@@ -7,9 +7,8 @@ public class EnemySpawner : MonoBehaviour {
public Enemy enemyPrefab;
public Transform pathWay;
public Transform gameWorld;
- List<Vector3> waypoints = new List<Vector3>();
- int wave;
+ List<Vector3> waypoints = new List<Vector3>();
int next = 1;
int n = 0;