2010-08-03 16:44:52 +00:00
|
|
|
#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);
|
2010-08-20 12:56:26 +00:00
|
|
|
///< If cellName is empty, an exterior cell is asumed.
|
2010-08-03 16:44:52 +00:00
|
|
|
|
2012-04-23 13:27:03 +00:00
|
|
|
virtual void execute();
|
2010-08-03 16:44:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|