openmw-tes3coop/apps/openmw/mwmp/LocalActor.hpp

30 lines
528 B
C++
Raw Normal View History

#ifndef OPENMW_LOCALACTOR_HPP
#define OPENMW_LOCALACTOR_HPP
#include <components/openmw-mp/Base/BaseActor.hpp>
2017-04-06 01:00:50 +00:00
#include "../mwworld/manualref.hpp"
namespace mwmp
{
class LocalActor : public BaseActor
{
public:
LocalActor();
virtual ~LocalActor();
void update();
2017-04-06 01:00:50 +00:00
void updatePosition();
void updateDrawState();
2017-04-06 01:00:50 +00:00
MWWorld::Ptr getPtr();
void setPtr(const MWWorld::Ptr& newPtr);
private:
MWWorld::Ptr ptr;
};
}
#endif //OPENMW_LOCALACTOR_HPP