Exemplo n.º 1
0
 /// <summary>
 /// Gets cells that are not committed yet by UpdateActiveShape
 /// </summary>
 /// <returns>Cells of changed, but not updated shape</returns>
 public Vector2[] GetChangedCells()
 {
     return(ShapeOnMatrix.GetShiftedCells(Location));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Updates active shape
 /// </summary>
 public void UpdateActiveShape()
 {
     ActiveShape = ShapeOnMatrix.GetShiftedCells(Location);
 }