diff options
Diffstat (limited to 'nGJ2019')
| -rw-r--r-- | nGJ2019/Assets/Scripts/EventTimeline.cs | 11 | ||||
| -rw-r--r-- | nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 12 |
2 files changed, 12 insertions, 11 deletions
diff --git a/nGJ2019/Assets/Scripts/EventTimeline.cs b/nGJ2019/Assets/Scripts/EventTimeline.cs index 18b87cc..465815c 100644 --- a/nGJ2019/Assets/Scripts/EventTimeline.cs +++ b/nGJ2019/Assets/Scripts/EventTimeline.cs @@ -1,19 +1,20 @@ using System; using System.Collections; using System.Collections.Generic; +using UnityEngine; public class EventTimeline { public class SpawnEvent { public float time; - public float height; + public Vector3 position; public ObstacleType type; - public SpawnEvent(float time, float height, ObstacleType type) + public SpawnEvent(float time, Vector3 position, |