summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actActorParam.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-08 00:48:51 +0100
committerLéo Lam <leo@leolam.fr>2020-11-08 00:56:14 +0100
commitf9456b5b1cda7f8a2b2fb53080d8f2ebaf544e61 (patch)
treeeef8c2aff1bb85dc78988e25a774508b141406b0 /src/KingSystem/ActorSystem/actActorParam.cpp
parent3bd9d7a599a54519ca766f2e7ae476d35d13f67a (diff)
ksys: Fix ActorParam struct
Diffstat (limited to 'src/KingSystem/ActorSystem/actActorParam.cpp')
-rw-r--r--src/KingSystem/ActorSystem/actActorParam.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actActorParam.cpp b/src/KingSystem/ActorSystem/actActorParam.cpp
new file mode 100644
index 00000000..a615f2db
--- /dev/null
+++ b/src/KingSystem/ActorSystem/actActorParam.cpp
@@ -0,0 +1,21 @@
+#include "KingSystem/ActorSystem/actActorParam.h"
+
+namespace ksys::act {
+
+ActorParam::Resources ActorParam::sDummyResources;
+
+void ActorParam::resetDummyResources() {
+ sDummyResources = {};
+}
+
+ActorParam::ActorParam() {
+ mRes = {};
+ mNumHandles1 = mNumHandles2 = 0;
+ mEvent.resetSignal();
+}
+
+ActorParam::~ActorParam() {
+ finalize();
+}
+
+} // namespace ksys::act