1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 10:53:53 +00:00

Issue #61: Forgot to add some files

This commit is contained in:
Marc Zinnschlag 2012-09-29 10:02:46 +02:00
parent cd343c4fbd
commit c6fd864a76
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#include "alchemy.hpp"
void MWMechanics::Alchemy::setAlchemist (const MWWorld::Ptr& npc)
{
mNpc = npc;
}

View file

@ -0,0 +1,22 @@
#ifndef GAME_MWMECHANICS_ALCHEMY_H
#define GAME_MWMECHANICS_ALCHEMY_H
#include "../mwworld/ptr.hpp"
namespace MWMechanics
{
/// \brief Potion creatin via alchemy skill
class Alchemy
{
MWWorld::Ptr mNpc;
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).
};
}
#endif