public void QueueEvent(GameEvent e)
 {
     queuedEvents.Add(e);
 }
 public TimerComponent(EventHandler eventHandler, float time, GameEvent eventToCreate)
     : base(eventHandler)
 {
     this.time = time;
     this.eventToCreate = eventToCreate;
 }