| 56 | } |
| 57 | |
| 58 | sp<BattleItem> TileObjectBattleItem::getItem() |
| 59 | { |
| 60 | auto i = item.lock(); |
| 61 | if (!i) |
| 62 | { |
| 63 | LogError("Item disappeared"); |
| 64 | return nullptr; |
| 65 | } |
| 66 | return i; |
| 67 | } |
| 68 | |
| 69 | Vec3<float> TileObjectBattleItem::getPosition() const |
| 70 | { |
no outgoing calls
no test coverage detected