1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwmechanics/security.hpp

28 lines
700 B
C++
Raw Normal View History

2013-05-19 16:40:37 +00:00
#ifndef MWMECHANICS_SECURITY_H
#define MWMECHANICS_SECURITY_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
/// @brief implementation of Security skill
class Security
{
public:
2013-05-19 21:19:48 +00:00
Security (const MWWorld::Ptr& actor);
void pickLock (const MWWorld::Ptr& lock, const MWWorld::Ptr& lockpick,
2013-05-19 17:48:51 +00:00
std::string& resultMessage, std::string& resultSound);
2013-05-19 21:19:48 +00:00
void probeTrap (const MWWorld::Ptr& trap, const MWWorld::Ptr& probe,
2013-05-19 17:48:51 +00:00
std::string& resultMessage, std::string& resultSound);
2013-05-19 21:19:48 +00:00
private:
float mAgility, mLuck, mSecuritySkill, mFatigueTerm;
MWWorld::Ptr mActor;
2013-05-19 16:40:37 +00:00
};
}
#endif