2016-11-15 16:42:52 +00:00
|
|
|
#ifndef OPENMW_WORLDCONTROLLER_HPP
|
|
|
|
#define OPENMW_WORLDCONTROLLER_HPP
|
|
|
|
|
2016-12-16 09:27:19 +00:00
|
|
|
#include "../mwworld/cellstore.hpp"
|
|
|
|
|
2016-11-15 16:42:52 +00:00
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class WorldController
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
WorldController();
|
|
|
|
~WorldController();
|
2016-11-15 17:13:36 +00:00
|
|
|
|
2016-12-16 09:27:19 +00:00
|
|
|
void openContainer(const MWWorld::Ptr& container, bool loot);
|
|
|
|
void closeContainer(const MWWorld::Ptr& container);
|
|
|
|
|
2016-11-15 17:13:36 +00:00
|
|
|
virtual MWWorld::CellStore *getCell(const ESM::Cell& cell);
|
2016-11-15 16:42:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_WORLDCONTROLLER_HPP
|