2017-08-08 13:53:47 +02:00
|
|
|
#ifndef _ACTIONCAST_H_
|
|
|
|
#define _ACTIONCAST_H_
|
|
|
|
|
2018-09-09 23:56:22 +02:00
|
|
|
#include "../ForwardsZone.h"
|
2017-08-08 13:53:47 +02:00
|
|
|
#include "Action.h"
|
|
|
|
|
2017-12-08 15:38:25 +01:00
|
|
|
namespace Core {
|
|
|
|
namespace Action {
|
2017-08-08 13:53:47 +02:00
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
class ActionCast :
|
|
|
|
public Action
|
|
|
|
{
|
|
|
|
private:
|
2017-08-08 13:53:47 +02:00
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
public:
|
|
|
|
ActionCast();
|
2017-08-08 13:53:47 +02:00
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
~ActionCast();
|
2017-08-08 13:53:47 +02:00
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
ActionCast( Entity::CharaPtr pActor, Entity::CharaPtr pTarget, uint16_t actionId );
|
|
|
|
|
|
|
|
void onStart() override;
|
|
|
|
|
|
|
|
void onFinish() override;
|
|
|
|
|
|
|
|
void onInterrupt() override;
|
|
|
|
|
|
|
|
};
|
2017-08-08 13:53:47 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-08 15:38:25 +01:00
|
|
|
#endif
|