public void AddTrigger(Trigger trigger)
 {
     triggers.Add(trigger);
 }