mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +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
|