/// <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); }
/// <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); }