()
| 226 | } |
| 227 | |
| 228 | public getDeathMessage(): string{ |
| 229 | // If there's a last damage reason |
| 230 | if(this.getLastDamageReason() != null){ |
| 231 | return this.getLastDamageReason().getWhoNaming().getBeginning() + " killed " + this.naming.getAnywhere() + " with " + this.getLastDamageReason().getWhatNaming().getAnywhere() + "."; |
| 232 | } |
| 233 | |
| 234 | // Else |
| 235 | return this.naming.getBeginning() + " was erased from reality."; |
| 236 | } |
| 237 | |
| 238 | public getRenderAreaCenter(): Pos{ |
| 239 | if(this.renderArea != null) |
no test coverage detected