| 346 | } |
| 347 | |
| 348 | void Player::rotateHand(Direction d) |
| 349 | { |
| 350 | if(mObjectsInHand.size() > 1) |
| 351 | { |
| 352 | if(d == Direction::left) |
| 353 | { |
| 354 | std::rotate(mObjectsInHand.begin(), mObjectsInHand.begin() + 1, mObjectsInHand.end()); |
| 355 | } |
| 356 | else |
| 357 | { |
| 358 | std::rotate(mObjectsInHand.begin(), mObjectsInHand.end() - 1, mObjectsInHand.end()); |
| 359 | } |
| 360 | // Send a render request to move the entity into the "hand" |
| 361 | RenderManager::getSingleton().rrRotateHand(this); |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | void Player::notifyNoMoreDungeonTemple() |
| 366 | { |
no test coverage detected