(howMany: number)
| 567 | } |
| 568 | |
| 569 | public foundChocolateBars(howMany: number): number{ |
| 570 | // We add the chocolate bars found |
| 571 | this.chocolateBarsFound.add(howMany); |
| 572 | |
| 573 | // We return the number of chocolate bars found |
| 574 | return howMany; |
| 575 | } |
| 576 | |
| 577 | public foundGridOrEqItem(itemFound: QuestItemFound): boolean{ |
| 578 | // If we already have this item, we return false |