()
| 423 | } |
| 424 | |
| 425 | public update(): void{ |
| 426 | for(var savingName in this.game.getSelectedEqItems()){ |
| 427 | this.game.getSelectedEqItems()[savingName].update(this, this.getQuest()); |
| 428 | } |
| 429 | |
| 430 | for(var savingName in this.game.getGridItems()){ |
| 431 | if(Saving.loadBool(savingName)) this.game.getGridItems()[savingName].update(this, this.getQuest()); |
| 432 | } |
| 433 | |
| 434 | super.update(); |
| 435 | } |
| 436 | |
| 437 | // Public setters : they must be public, because sometimes we have to set these things (at loading for example) |
| 438 | public setHp(hp: number): void{ |
nothing calls this directly
no test coverage detected