()
| 36 | |
| 37 | // update() |
| 38 | public update(): void{ |
| 39 | // Go towards the player |
| 40 | this.goTowards(this.getGlobalPosition(), this.getQuest().getGame().getPlayer().getGlobalPosition(), 0, new Pos(1, 0)); |
| 41 | |
| 42 | // Call the mother class update method |
| 43 | super.update(); |
| 44 | } |
| 45 | |
| 46 | // willDie() |
| 47 | public willDie(): void{ |
nothing calls this directly
no test coverage detected