()
| 345 | } |
| 346 | |
| 347 | public shouldDie(): boolean{ |
| 348 | // We use the method of our mother class PLUS we're also dead if out of area |
| 349 | if(super.shouldDie() || this.getOutOfArea()) |
| 350 | return true; |
| 351 | |
| 352 | return false; |
| 353 | } |
| 354 | |
| 355 | public squeeze(): void{ |
| 356 | // Do different things depending on the current character type |
no test coverage detected