/// <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)); }
/// <summary> /// Sets up future shape to appear on screen /// </summary> public void SetupFutureShape() { _futureShapeOnMatrix = _shapeGenerator.GetNextElement(); _futureColor = _colorGenerator.GetNextElement(); }
/// <summary> /// Updates active shape /// </summary> public void UpdateActiveShape() { ActiveShape = ShapeOnMatrix.GetShiftedCells(Location); }