public TrackingObject(MObject source) { this.Position = new Vector2D((double)source.X(), (double)source.Y()); this.Area = source.Area(); this.Width = source.Width(); this.Height = source.Height(); this.Left = source.Left(); this.Right = source.Right(); this.Top = source.Top(); this.Bottom = source.Bottom(); }
public TrackingObject(MObject source) { this.Position = new Vector2D((double)source.X(), (double)source.Y()); this.Area = source.Area(); this.Width = source.Width(); this.Height = source.Height(); this.Left = source.Left(); this.Right = source.Right(); this.Top = source.Top(); this.Bottom = source.Bottom(); }