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