OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
security.hpp
Go to the documentation of this file.
1 #ifndef MWMECHANICS_SECURITY_H
2 #define MWMECHANICS_SECURITY_H
3 
4 #include "../mwworld/ptr.hpp"
5 
6 namespace MWMechanics
7 {
8 
10  class Security
11  {
12  public:
13  Security (const MWWorld::Ptr& actor);
14 
15  void pickLock (const MWWorld::Ptr& lock, const MWWorld::Ptr& lockpick,
16  std::string& resultMessage, std::string& resultSound);
17  void probeTrap (const MWWorld::Ptr& trap, const MWWorld::Ptr& probe,
18  std::string& resultMessage, std::string& resultSound);
19 
20  private:
23  };
24 
25 }
26 
27 #endif
float mAgility
Definition: security.hpp:21
implementation of Security skill
Definition: security.hpp:10
float mLuck
Definition: security.hpp:21
float mFatigueTerm
Definition: security.hpp:21
void pickLock(const MWWorld::Ptr &lock, const MWWorld::Ptr &lockpick, std::string &resultMessage, std::string &resultSound)
Definition: security.cpp:31
void probeTrap(const MWWorld::Ptr &trap, const MWWorld::Ptr &probe, std::string &resultMessage, std::string &resultSound)
Definition: security.cpp:71
float mSecuritySkill
Definition: security.hpp:21
MWWorld::Ptr mActor
Definition: security.hpp:22
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
Security(const MWWorld::Ptr &actor)
Definition: security.cpp:20