public BaseGameComponentContainer([NotNull] BaseGame game, [NotNull] IBaseGameComponentContainer parent) : base(game, parent) { Components = new BaseGameComponentCollection(this); }
public abstract IBaseGameComponent CreateComponent(BaseGame game, IBaseGameComponentContainer parent);
// ReSharper disable once SuggestBaseTypeForParameter protected BaseGameComponent([NotNull] BaseGame game, [CanBeNull] IBaseGameComponentContainer parent) : base(game) { Parent = parent; ConfigurationStore = parent?.ConfigurationStore; }