1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:23:52 +00:00
openmw-tes3mp/apps/openmw/mwmechanics/alchemy.hpp

37 lines
862 B
C++
Raw Normal View History

2012-09-29 08:02:46 +00:00
#ifndef GAME_MWMECHANICS_ALCHEMY_H
#define GAME_MWMECHANICS_ALCHEMY_H
#include <vector>
2012-09-29 08:02:46 +00:00
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
/// \brief Potion creatin via alchemy skill
class Alchemy
{
public:
typedef std::vector<MWWorld::Ptr> TToolsContainer;
typedef TToolsContainer::const_iterator TToolsIterator;
private:
2012-09-29 08:02:46 +00:00
MWWorld::Ptr mNpc;
TToolsContainer mTools;
2012-09-29 08:02:46 +00:00
public:
void setAlchemist (const MWWorld::Ptr& npc);
///< Set alchemist and configure alchemy setup accordingly. \a npc may be empty to indicate that
/// there is no alchemist (alchemy session has ended).
TToolsIterator beginTools() const;
TToolsIterator endTools() const;
2012-09-29 08:02:46 +00:00
};
}
#endif