Пример #1
0
 public TerminoView(ITermino termino)
 {
     _views = new List <Sfg.RectangleShape>();
     termino.EachBlock(termino.Position, (x, y) =>
     {
         var block = CreateBlock(termino.Color, x, y);
         _views.Add(block);
     });
 }
Пример #2
0
 public void Add(ITermino termino)
 {
     Terminos.Add(termino);
     Cant++;
 }