You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|