/// <inheritdoc /> /// <summary> /// Copies the stock stack. /// </summary> /// <param name="original">The original stock stack.</param> public StockCardStack(StockCardStack original) : base(original) { Waste = new WasteCardStack(original.Waste) { Stock = this }; MoveAmount = original.MoveAmount; }
/// <inheritdoc /> /// <summary> /// Creates a new stock stack. /// </summary> /// <param name="moveAmount">The amount of Cards to move to the waste each time.</param> public StockCardStack(int moveAmount) { Waste = new WasteCardStack(this); MoveAmount = moveAmount; }