aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2019-04-27 18:00:48 +0200
committermarcinzelent <zelent.marcin@gmail.com>2019-04-27 18:00:48 +0200
commit19d32b28f4888407a5c06ed84a751a2c35691d2b (patch)
tree43641a956be270b2974b553dade69752426925e1 /nGJ2019/Assets/Scripts/ObstacleSpawner.cs
parent70c0792ee952d2690fac411ca3240fcb50f7a7b0 (diff)
Added messaging
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;
+ }
}