123456789101112131415161718192021222324252627282930 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using CSVReader;
- namespace ObjectScripts
- {
- public abstract class AbstractEventHandler : MonoBehaviour
- {
- ///<summary>
- /// Gameobject of the Camera/Player
- ///</summary>
- [SerializeField] public GameObject Camera;
- ///<summary>
- /// List to keep track of each event
- ///</summary>
- public List<AbstractEventScript> EventList;
- ///<summary>
- /// current simulation timestamp
- ///</summary>
- public double CurrentTimestamp;
- ///<summary>
- /// Handle events
- ///</summary>
- public abstract void Handle(EventObject[] events);
- ///<summary>
- /// Setup Eventhandler
- ///</summary>
- public abstract void SetUp(EventCSVReader eventCSV, IMapSensor mapSensor);
- }
- }
|