public static void Add(this GameComponentCollection collection, IUpdatablePart component, Game game) { collection.Add(new UpdatableComponentWrapper(component, game)); }
public UpdatableComponentWrapper(IUpdatablePart component, Game game) : base(game) { this.component = component; }