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
6
class
plActor
;
7
8
class
PL_CORE_DLL
plActorPlugin
:
public
plReflectedClass
9
{
10
PL_ADD_DYNAMIC_REFLECTION(
plActorPlugin
,
plReflectedClass
);
11
12
public
:
13
plActorPlugin
();
14
~plActorPlugin
();
15
16
plActor
* GetActor()
const
;
17
18
protected
:
19
friend
class
plActor
;
20
virtual
void
Update() {}
21
22
private
:
23
plActor
* m_pOwningActor =
nullptr
;
24
};
plActor
Definition
Actor.h:9
plActorPlugin
Definition
ActorPlugin.h:9
plReflectedClass
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition
DynamicRTTI.h:86
Code
Engine
Core
ActorSystem
ActorPlugin.h
Generated by
1.11.0