Plasma Engine  2.0
Loading...
Searching...
No Matches
ActorPlugin.h
1#pragma once
2
3#include <Core/CoreDLL.h>
4#include <Foundation/Reflection/Reflection.h>
5
6class plActor;
7
8class PL_CORE_DLL plActorPlugin : public plReflectedClass
9{
10 PL_ADD_DYNAMIC_REFLECTION(plActorPlugin, plReflectedClass);
11
12public:
15
16 plActor* GetActor() const;
17
18protected:
19 friend class plActor;
20 virtual void Update() {}
21
22private:
23 plActor* m_pOwningActor = nullptr;
24};
Definition Actor.h:9
Definition ActorPlugin.h:9
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86