2017-08-08 13:53:47 +02:00
|
|
|
#ifndef _ACTIONCAST_H_
|
|
|
|
#define _ACTIONCAST_H_
|
|
|
|
|
2017-12-08 15:38:25 +01:00
|
|
|
#include "../Forwards.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
|
|
|
|
|
|
|
class ActionCast : public Action
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
public:
|
|
|
|
ActionCast();
|
|
|
|
~ActionCast();
|
|
|
|
|
2017-11-28 17:43:00 +01:00
|
|
|
ActionCast( Entity::ActorPtr pActor, Entity::ActorPtr pTarget, uint16_t actionId );
|
2017-08-08 13:53:47 +02:00
|
|
|
|
|
|
|
void onStart() override;
|
|
|
|
void onFinish() override;
|
|
|
|
void onInterrupt() override;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-08 15:38:25 +01:00
|
|
|
#endif
|