예제 #1
0
        public static SampleBuilder UpdateSample(IEditableSample sample, Vector2 position)
        {
            Assert.IsFalse(sample.IsDrawn, "Sample must be empty");
            sample.Add(position);

            return(new SampleBuilder(sample));
        }
예제 #2
0
 public void Add(Vector2 position)
 {
     sample.Add(position);
 }