aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Bybjerg <mikkel.bybjerg@hotmail.com>2019-04-27 18:08:57 +0200
committerMikkel Bybjerg <mikkel.bybjerg@hotmail.com>2019-04-27 18:08:57 +0200
commit0f510216cac75c8a5e69e86f9009eaf4f338b889 (patch)
tree83c64ef455f6acce8fdaa3e3ae95a85049b0dba4 /nGJ2019/Assets/Scripts/ObstacleSpawner.cs
parent27dcfd09f51191196f44da030ce68338ac09e6b3 (diff)
parent53a8d342ee667d1b28c1dc1e173ad73338a930b9 (diff)
merge
Diffstat (limited to 'nGJ2019/Assets/Scripts/ObstacleSpawner.cs')
-rw-r--r--nGJ2019/Assets/Scripts/ObstacleSpawner.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
index c285352..f438e85 100644
--- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
+++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
@@ -8,6 +8,7 @@ public class ObstacleSpawner : MonoBehaviour
public GameObject caveWallsPrefab, rockTopPrefab, rockBottomPrefab, narrowPassagePrefab, rockJawsPrefab;
public LevelScrolling scrolling;
+ public Messenger messenger;
public float spawnLine;
@@ -63,4 +64,9 @@ public class ObstacleSpawner : MonoBehaviour
Gizmos.color = Color.green;
Gizmos.DrawLine(new Vector3(spawnLine, -10, 0), new Vector3(spawnLine, 10, 0));
}
+
+ public EventTimeline GetEventTimeline()
+ {
+ return timeline;
+ }
}