Esempio n. 1
0
 public void completeEvent(TrackingEvent eventToTrack)
 {
     ui.addPopup(eventToTrack.finishedString);
     eventToTrack.finished = true;
     eventToTrack.active   = false;
     foreach (int i in eventToTrack.triggerEvents)
     {
         foreach (TrackingEvent eve in eventsToTrack)
         {
             if (i == eve.id)
             {
                 eve.active = true;
                 Console.WriteLine(eve.unfinishedString);
             }
         }
     }
     eventsToTrack.Remove(eventToTrack);
 }
Esempio n. 2
0
 public void addEvent(TrackingEvent newEvent)
 {
     eventManager.addEvent(newEvent);
 }
Esempio n. 3
0
 public void addEvent(TrackingEvent eventToTrack)
 {
     eventsToTrack.Add(eventToTrack);
 }