()
| 123 | } |
| 124 | |
| 125 | private update(): void{ |
| 126 | // Erase everything |
| 127 | this.renderArea.resetAllButSize(); |
| 128 | |
| 129 | // Back to the map button |
| 130 | this.addBackToMainMapButton(this.renderArea, "insideFortressBackToTheMapButton"); |
| 131 | |
| 132 | // Draw the ascii |
| 133 | this.renderArea.drawArray(Database.getAscii("places/fortress/inside"), 0, 3); |
| 134 | |
| 135 | // Add the text |
| 136 | this.renderArea.drawString(Database.getText("fortressInsideText0"), 22, 29); |
| 137 | this.renderArea.drawString(Database.getText("fortressInsideText1"), 22, 30); |
| 138 | this.renderArea.drawString(Database.getText("fortressInsideText2"), 22, 31); |
| 139 | |
| 140 | // Add the translated text |
| 141 | this.renderArea.drawString(Database.getTranslatedText("fortressInsideText0"), 22, 33, true); |
| 142 | this.renderArea.drawString(Database.getTranslatedText("fortressInsideText1"), 22, 34, true); |
| 143 | this.renderArea.drawString(Database.getTranslatedText("fortressInsideText2"), 22, 35, true); |
| 144 | |
| 145 | // Add the doors buttons |
| 146 | this.addFirstDoorButton(8, 10); |
| 147 | this.addSecondDoorButton(42, 8); |
| 148 | this.addThirdDoorButton(78, 10); |
| 149 | } |
| 150 | } |
no test coverage detected