()
| 34 | |
| 35 | // Public methods |
| 36 | public update(): void{ |
| 37 | // We follow the player |
| 38 | this.goTowards(this.getRenderAreaCenter(), this.getQuest().getGame().getPlayer().getRenderAreaCenter(), 3); |
| 39 | |
| 40 | // We call the mother update method |
| 41 | super.update(); |
| 42 | } |
| 43 | |
| 44 | // willDie() |
| 45 | public willDie(): void{ |
nothing calls this directly
no test coverage detected