Beispiel #1
0
 public TimeSinceEventTracker(GameTrackerScript script, Hash engineCallback, DrivingEvent eventType)
 {
     script.Tick         += Tick;
     script.EpisodeReset += ResetEpisode;
     this.engineCallback  = engineCallback;
     this.eventType       = eventType;
 }
Beispiel #2
0
 public RanLightsTracker(GameTrackerScript script)
 {
     script.Tick         += Tick;
     script.EpisodeReset += ResetEpisode;
     alignedVehicles      = new HashSet <Vehicle>();
 }
Beispiel #3
0
 public RoadAlignmentTracker(GameTrackerScript script)
 {
     roadAlignment        = new Aggregator();
     script.EpisodeReset += ResetEpisode;
     script.Tick         += Tick;
 }
Beispiel #4
0
 public CollisionTracker(GameTrackerScript script)
 {
     script.Tick         += Tick;
     script.EpisodeReset += ResetEpisode;
 }
Beispiel #5
0
 public SpeedTracker(GameTrackerScript script)
 {
     avgSpeed             = new Aggregator();
     script.Tick         += Tick;
     script.EpisodeReset += ResetEpisode;
 }