| 54 | } |
| 55 | |
| 56 | sp<BattleHazard> TileObjectBattleHazard::getHazard() |
| 57 | { |
| 58 | auto i = hazard.lock(); |
| 59 | if (!i) |
| 60 | { |
| 61 | LogError("Item disappeared"); |
| 62 | return nullptr; |
| 63 | } |
| 64 | return i; |
| 65 | } |
| 66 | |
| 67 | Vec3<float> TileObjectBattleHazard::getPosition() const |
| 68 | { |
no outgoing calls
no test coverage detected