mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-25 23:13:35 +00:00
fddf99946f
* chore: make scripted activity derived from activity this paves the way for other component being properly derived from the activity component * use a dirty flag instead * address feedback
16 lines
485 B
C++
16 lines
485 B
C++
#ifndef __SCRIPTEDACTIVITYCOMPONENT__H__
|
|
#define __SCRIPTEDACTIVITYCOMPONENT__H__
|
|
|
|
#include "ActivityComponent.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
class Entity;
|
|
|
|
class ScriptedActivityComponent : public ActivityComponent {
|
|
public:
|
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::SCRIPTED_ACTIVITY;
|
|
ScriptedActivityComponent(Entity* parent, int activityID) : ActivityComponent(parent, activityID){};
|
|
};
|
|
|
|
#endif //!__SCRIPTEDACTIVITYCOMPONENT__H__
|