(howMany: number)
| 554 | } |
| 555 | |
| 556 | public foundCandies(howMany: number): number{ |
| 557 | // We check all eqItems in case they want to change how many candies were found |
| 558 | for(var savingName in this.getGame().getSelectedEqItems()){ |
| 559 | howMany = this.getGame().getSelectedEqItems()[savingName].foundCandies(this.getGame().getPlayer(), this, howMany); |
| 560 | } |
| 561 | |
| 562 | // We add the candies found |
| 563 | this.candiesFound.add(howMany); |
| 564 | |
| 565 | // We return the number of candies found |
| 566 | return howMany; |
| 567 | } |
| 568 | |
| 569 | public foundChocolateBars(howMany: number): number{ |
| 570 | // We add the chocolate bars found |
nothing calls this directly
no test coverage detected