1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-11 21:17:45 +00:00
sapphire/src/world/Action/ActionTeleport.h

34 lines
506 B
C
Raw Normal View History

2017-08-08 13:53:47 +02:00
#ifndef _ACTIONTELEPORT_H_
#define _ACTIONTELEPORT_H_
#include "ForwardsZone.h"
2017-08-08 13:53:47 +02:00
#include "Action.h"
namespace Sapphire::Action
{
2018-10-28 21:53:21 +01:00
class ActionTeleport : public Action
{
private:
uint16_t m_targetAetheryte;
uint16_t m_cost;
2018-10-28 21:53:21 +01:00
public:
ActionTeleport();
2018-10-28 21:53:21 +01:00
~ActionTeleport();
2018-12-25 01:57:50 +01:00
ActionTeleport( Entity::CharaPtr pActor, uint16_t action, uint16_t cost, FrameworkPtr pFw );
2018-10-28 21:53:21 +01:00
void onStart() override;
2018-10-28 21:53:21 +01:00
void onFinish() override;
2018-10-28 21:53:21 +01:00
void onInterrupt() override;
};
2017-08-08 13:53:47 +02:00
}
#endif