(firstTimeWeUpdate: boolean = false, keepInputContent: boolean = true)
| 503 | } |
| 504 | |
| 505 | private update(firstTimeWeUpdate: boolean = false, keepInputContent: boolean = true): void{ |
| 506 | // Erase everything |
| 507 | this.renderArea.resetAllButSize(); |
| 508 | |
| 509 | // Draw everything |
| 510 | this.drawBook(2, 0); |
| 511 | this.drawCauldron(2, 39); |
| 512 | this.drawActions(47, 34, firstTimeWeUpdate, keepInputContent); |
| 513 | } |
| 514 | |
| 515 | private updateFlamesArray(): void{ |
| 516 | // Create the variables |
no test coverage detected