mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 20:19:56 +00:00
23 lines
396 B
C++
23 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
|