public Node(Context WorldInputContext, Disposable<Content> Content, Block Block, Point Position, Point Velocity) { this._Content = Content; this._Block = Block; this._Position = Position; this._Velocity = Velocity; this._Layout = this._Block.Object.CreateLayout(null, SizeRange, out this._Size); this._InputContext = new _NodeInputContext(this, WorldInputContext); this._Layout.Link(this._InputContext); }
public Node(Context WorldInputContext, Disposable<Content> Content, Block Block, Layout Layout, Point Size, Point Position, Point Velocity) { this._Content = Content; this._Block = Block; this._Position = Position; this._Velocity = Velocity; this._Layout = Layout; this._Size = Size; this._InputContext = new _NodeInputContext(this, WorldInputContext); this._Layout.Link(this._InputContext); }