Exemple #1
0
 public Entity Add(ComponentBase component)
 {
     this.AddComponentAndDispatchAddEvent(component, component.GetType());
     return(this);
 }
Exemple #2
0
 public Entity Add <T>(ComponentBase component) where T : ComponentBase
 {
     return(this.Add(component, typeof(T)));
 }