(renderArea: RenderArea)
| 39 | |
| 40 | // Public methods |
| 41 | public draw(renderArea: RenderArea): void{ |
| 42 | super.draw(renderArea); |
| 43 | |
| 44 | // We add the missing "<" on the troll's bludgeon as a tag |
| 45 | renderArea.addTag(new RenderTagLt(this.getQuest().getRealQuestPosition().x + this.getGlobalPosition().x + this.getRenderAreaPosition().x + 9), this.getQuest().getRealQuestPosition().y + this.getGlobalPosition().y + this.getRenderAreaPosition().y + 1); |
| 46 | } |
| 47 | |
| 48 | public willDie(): void{ |
| 49 | this.getQuest().getGame().getQuestLog().addMessage(new QuestLogMessage(this.getDeathMessage() + " (and found " + Algo.pluralFormat(this.getQuest().foundCandies(500), " candy", " candies") + ")", this.getQuest().getCandiesFoundMessage())); |
no test coverage detected