protected SharedListChild(ISharedListParent parent) { Parent = parent ?? throw new ArgumentNullException(nameof(parent)); Parent.Children.Add(this); }
protected override ISharedListChild <ChrTile> Create( ISharedListParent parent) { return(new ChrTileEditor(parent) { StartOffset = StartOffset, }); }
protected override ISharedListChild <GfxTile> Create( ISharedListParent parent) { var result = new GfxEditor(parent) { GraphicsFormat = GraphicsFormat, StartOffset = StartOffset, }; return(result); }
protected abstract ISharedListChild <T> Create( ISharedListParent parent);
protected SharedListChildEditor(ISharedListParent parent) : base(parent) { Parent = null; }
private ChrTileEditor(ISharedListParent parent) : base(parent) { }
private GfxEditor(ISharedListParent parent) : base(parent) { }