Ejemplo n.º 1
0
 /// <summary>
 /// Adds a component to the end of the list
 /// </summary>
 /// <param name="component"></param>
 public void Append(GameComponent component)
 {
     lock (_components) _components.AddLast(component);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds a component to the beginning of the list
 /// </summary>
 /// <param name="component"></param>
 public void Prepend(GameComponent component)
 {
     lock (_components) _components.AddFirst(component);
 }