mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
24 lines
396 B
C++
24 lines
396 B
C++
|
#ifndef OPENMW_MWMECHANICS_REPAIR_H
|
||
|
#define OPENMW_MWMECHANICS_REPAIR_H
|
||
|
|
||
|
#include "../mwworld/ptr.hpp"
|
||
|
|
||
|
namespace MWMechanics
|
||
|
{
|
||
|
|
||
|
class Repair
|
||
|
{
|
||
|
public:
|
||
|
void setTool (const MWWorld::Ptr& tool) { mTool = tool; }
|
||
|
MWWorld::Ptr getTool() { return mTool; }
|
||
|
|
||
|
void repair (const MWWorld::Ptr& itemToRepair);
|
||
|
|
||
|
private:
|
||
|
MWWorld::Ptr mTool;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|