#ifndef OPENMW_CELL_HPP #define OPENMW_CELL_HPP #include "WorldEvent.hpp" #include "LocalActor.hpp" #include "DedicatedActor.hpp" #include "../mwworld/cellstore.hpp" namespace mwmp { class Cell { public: Cell(MWWorld::CellStore* cellStore); ~Cell(); void updateLocal(); void updateDedicated(float dt); void readCellFrame(mwmp::WorldEvent& worldEvent); void initializeLocalActors(); void uninitializeLocalActors(); void uninitializeDedicatedActors(); virtual LocalActor *getLocalActor(std::string actorIndex); virtual DedicatedActor *getDedicatedActor(std::string actorIndex); MWWorld::CellStore* getCellStore(); std::string getDescription(); private: MWWorld::CellStore* store; std::map localActors; std::map dedicatedActors; }; } #endif //OPENMW_CELL_HPP