* Sets the item's owner. * @param owner Pointer to Battleunit. */
| 224 | * @param owner Pointer to Battleunit. |
| 225 | */ |
| 226 | void BattleItem::setOwner(BattleUnit *owner) |
| 227 | { |
| 228 | _previousOwner = _owner; |
| 229 | _owner = owner; |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Removes the item from the previous owner and moves it to the new owner. |
no outgoing calls
no test coverage detected