mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-16 06:51:27 +00:00
19 lines
424 B
Swift
19 lines
424 B
Swift
//
|
|
// File.swift
|
|
//
|
|
//
|
|
// Created by Manali Mogre on 18/08/2020.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
class ConjuredItem: StandardItem{
|
|
// Overrides decreasingQualityValueBeforeSellInDate property of Standard item as the Conjured Item degrades twice fast than Standard Iten
|
|
override var decreasingQualityValueBeforeSellInDate: Int {
|
|
return 2
|
|
}
|
|
override init(item: Item) {
|
|
super.init(item: item)
|
|
}
|
|
}
|