mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 06:21:29 +00:00
added updateConjuredItem method and kept room for implementing the relevant business logic
This commit is contained in:
parent
6109899ada
commit
d28c76856c
@ -74,6 +74,11 @@ export class GildedRose {
|
||||
}
|
||||
}
|
||||
|
||||
private updateConjuredItem(item: Item) {
|
||||
assert(item.name == ItemNames.CONJURED_CAKE);
|
||||
//business logic to be implemented
|
||||
}
|
||||
|
||||
updateQuality() {
|
||||
for (const item of this.items) {
|
||||
switch (item.name) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user