public void AddTransition(ITransition trans)
 {
     trans.SetController(controller);
     transitionList.Add(trans);
 }