| 3420 | } |
| 3421 | |
| 3422 | int Entity::getHP() |
| 3423 | { |
| 3424 | Stat* myStats = getStats(); |
| 3425 | |
| 3426 | if ( !myStats ) |
| 3427 | { |
| 3428 | return 0; |
| 3429 | } |
| 3430 | |
| 3431 | return myStats->HP; |
| 3432 | } |
| 3433 | |
| 3434 | /*------------------------------------------------------------------------------- |
| 3435 |
no outgoing calls
no test coverage detected