You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
559 B
C++
27 lines
559 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);
|
|
///< If cellName is empty, an exterior cell is asumed.
|
|
|
|
virtual void execute (Environment& environment);
|
|
};
|
|
}
|
|
|
|
#endif
|