|
|
@ -49,7 +49,7 @@ namespace MWWorld
|
|
|
|
///< Return item max health or throw an exception, if class does not have item health
|
|
|
|
///< Return item max health or throw an exception, if class does not have item health
|
|
|
|
/// (default implementation: throw an exceoption)
|
|
|
|
/// (default implementation: throw an exceoption)
|
|
|
|
|
|
|
|
|
|
|
|
virtual boost::shared_ptr<Action> activate (const Ptr& ptr) const;
|
|
|
|
virtual boost::shared_ptr<Action> activate (const Ptr& ptr, const Ptr& actor) const;
|
|
|
|
///< Generate action for activation (default implementation: return a null action).
|
|
|
|
///< Generate action for activation (default implementation: return a null action).
|
|
|
|
|
|
|
|
|
|
|
|
virtual boost::shared_ptr<Action> use (const Ptr& ptr) const;
|
|
|
|
virtual boost::shared_ptr<Action> use (const Ptr& ptr) const;
|
|
|
|