mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
30 lines
517 B
C
30 lines
517 B
C
![]() |
#ifndef _ACTIONTELEPORT_H_
|
||
|
#define _ACTIONTELEPORT_H_
|
||
|
|
||
|
#include "Forwards.h"
|
||
|
#include "Action.h"
|
||
|
|
||
|
namespace Core { namespace Action {
|
||
|
|
||
|
class ActionTeleport : public Action
|
||
|
{
|
||
|
private:
|
||
|
uint16_t m_targetAetheryte;
|
||
|
uint16_t m_cost;
|
||
|
|
||
|
public:
|
||
|
ActionTeleport();
|
||
|
~ActionTeleport();
|
||
|
|
||
|
ActionTeleport( Entity::ActorPtr pActor, uint16_t action, uint16_t cost );
|
||
|
|
||
|
void onStart() override;
|
||
|
void onFinish() override;
|
||
|
void onInterrupt() override;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|