()
| 361 | } |
| 362 | |
| 363 | private update(): void{ |
| 364 | // Erase everything |
| 365 | this.renderArea.resetAllButSize(); |
| 366 | |
| 367 | // Back to the map button |
| 368 | this.addBackToMainMapButton(this.renderArea, "wishingWellBackToTheMapButton"); |
| 369 | |
| 370 | // Draw the well |
| 371 | this.renderArea.drawArray(Database.getAscii("places/wishingWell"), 38, 3); |
| 372 | |
| 373 | // Draw the speech if currentSpeech isn't null |
| 374 | if(this.currentSpeech != null){ |
| 375 | this.renderArea.drawSpeech(Database.getText(this.currentSpeech), 3, 75, 95, "wishingWellSpeech", Database.getTranslatedText(this.currentSpeech)); |
| 376 | } |
| 377 | |
| 378 | // Draw various stuff around it |
| 379 | this.drawCandiesStuff(0, 4); |
| 380 | if(this.getGame().getLollipops().getMax() >= 1) this.drawLollipopsStuff(0, 9); |
| 381 | if(this.getGame().getChocolateBars().getMax() >= 1) this.drawChocolateBarsStuff(0, 14); |
| 382 | if(this.getGame().getPainsAuChocolat().getMax() >= 1) this.drawPainsAuChocolatStuff(0, 24); |
| 383 | } |
| 384 | } |
no test coverage detected