| 1038 | } |
| 1039 | |
| 1040 | void RenderManager::rrRotateHand(Player* localPlayer) |
| 1041 | { |
| 1042 | // Loop over the creatures in our hand and redraw each of them in their new location. |
| 1043 | int i = 0; |
| 1044 | const std::vector<GameEntity*>& objectsInHand = localPlayer->getObjectsInHand(); |
| 1045 | for (GameEntity* tmpEntity : objectsInHand) |
| 1046 | { |
| 1047 | Ogre::SceneNode* tmpEntityNode = mSceneManager->getSceneNode(tmpEntity->getOgreNamePrefix() + tmpEntity->getName() + "_node"); |
| 1048 | tmpEntityNode->setPosition(static_cast<Ogre::Real>(i % 6 + 1), static_cast<Ogre::Real>(i / 6), static_cast<Ogre::Real>(0.0)); |
| 1049 | ++i; |
| 1050 | } |
| 1051 | } |
| 1052 | |
| 1053 | void RenderManager::rrCreateCreatureVisualDebug(Creature* curCreature, Tile* curTile) |
| 1054 | { |
no test coverage detected