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

28 lines
700 B
C++
Raw Normal View History

2013-05-19 18:40:37 +02: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 23:19:48 +02:00
Security (const MWWorld::Ptr& actor);
void pickLock (const MWWorld::Ptr& lock, const MWWorld::Ptr& lockpick,
2013-05-19 19:48:51 +02:00
std::string& resultMessage, std::string& resultSound);
2013-05-19 23:19:48 +02:00
void probeTrap (const MWWorld::Ptr& trap, const MWWorld::Ptr& probe,
2013-05-19 19:48:51 +02:00
std::string& resultMessage, std::string& resultSound);
2013-05-19 23:19:48 +02:00
private:
float mAgility, mLuck, mSecuritySkill, mFatigueTerm;
MWWorld::Ptr mActor;
2013-05-19 18:40:37 +02:00
};
}
#endif