public static SampleBuilder UpdateSample(IEditableSample sample, Vector2 position) { Assert.IsFalse(sample.IsDrawn, "Sample must be empty"); sample.Add(position); return(new SampleBuilder(sample)); }
public void Add(Vector2 position) { sample.Add(position); }