| 151 | } |
| 152 | |
| 153 | void MovableGameEntity::setWalkDirection(const Ogre::Vector3& direction) |
| 154 | { |
| 155 | mWalkDirection = direction; |
| 156 | if(getIsOnServerMap()) |
| 157 | return; |
| 158 | |
| 159 | RenderManager::getSingleton().rrOrientEntityToward(this, direction); |
| 160 | } |
| 161 | |
| 162 | void MovableGameEntity::setAnimationState(const std::string& state, bool loop, const Ogre::Vector3& direction, bool playIdleWhenAnimationEnds) |
| 163 | { |
no test coverage detected