()
| 164 | } |
| 165 | |
| 166 | private update(): void{ |
| 167 | // Erase everything |
| 168 | this.renderArea.resetAllButSize(); |
| 169 | |
| 170 | // Back to the map button |
| 171 | this.addBackToMainMapButton(this.renderArea, "castleBackToTheMapButton"); |
| 172 | |
| 173 | // Draw the ascii |
| 174 | this.renderArea.drawArray(Database.getAscii("places/castle/map"), 0, 3); |
| 175 | |
| 176 | // Draw various stuff |
| 177 | this.drawCastleEntrance(43, 36); |
| 178 | this.drawBigRoom(57, 19); |
| 179 | this.drawRoom1(15, 27); |
| 180 | this.drawRoom2(15, 21); |
| 181 | this.drawRoom3(15, 15); |
| 182 | this.drawNougatMonster(68, 15); |
| 183 | this.drawStairs(32, 3); |
| 184 | if(Saving.loadBool("castleKilledNougatMonster")){ |
| 185 | this.drawTowerEntrance(84, 16); |
| 186 | } |
| 187 | } |
| 188 | } |
no test coverage detected