#include <obstacle.hpp>
Enumerator |
---|
State_Norm |
|
State_CheckStuck |
|
State_Evade |
|
MWMechanics::ObstacleCheck::ObstacleCheck |
( |
| ) |
|
bool MWMechanics::ObstacleCheck::check |
( |
const MWWorld::Ptr & |
actor, |
|
|
float |
duration, |
|
|
float |
scaleMinimumDistance = 1.0f |
|
) |
| |
void MWMechanics::ObstacleCheck::chooseEvasionDirection |
( |
| ) |
|
|
private |
void MWMechanics::ObstacleCheck::clear |
( |
| ) |
|
bool MWMechanics::ObstacleCheck::isEvading |
( |
| ) |
const |
bool MWMechanics::ObstacleCheck::isNormalState |
( |
| ) |
const |
const float MWMechanics::ObstacleCheck::evadeDirections |
|
staticprivate |
Initial value:=
{
{ 1.0f, 0.0f },
{ 1.0f, -1.0f },
{ -1.0f, 0.0f },
{ -1.0f, -1.0f }
}
float MWMechanics::ObstacleCheck::mDistSameSpot |
|
private |
int MWMechanics::ObstacleCheck::mEvadeDirectionIndex |
|
private |
float MWMechanics::ObstacleCheck::mEvadeDuration |
|
private |
float MWMechanics::ObstacleCheck::mPrevX |
|
private |
float MWMechanics::ObstacleCheck::mPrevY |
|
private |
float MWMechanics::ObstacleCheck::mStuckDuration |
|
private |
WalkState MWMechanics::ObstacleCheck::mWalkState |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/apps/openmw/mwmechanics/obstacle.hpp
- /home/travis/build/OpenMW/openmw/apps/openmw/mwmechanics/obstacle.cpp