mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 15:49:55 +00:00
26 lines
492 B
C++
26 lines
492 B
C++
|
#ifndef GAME_MWWORLD_ACTIONTELEPORT_H
|
||
|
#define GAME_MWWORLD_ACTIONTELEPORT_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include <components/esm/defs.hpp>
|
||
|
|
||
|
#include "action.hpp"
|
||
|
|
||
|
namespace MWWorld
|
||
|
{
|
||
|
class ActionTeleportPlayer : public Action
|
||
|
{
|
||
|
std::string mCellName;
|
||
|
ESM::Position mPosition;
|
||
|
|
||
|
public:
|
||
|
|
||
|
ActionTeleportPlayer (const std::string& cellName, const ESM::Position& position);
|
||
|
|
||
|
virtual void execute (Environment& environment);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|