diff options
Diffstat (limited to 'src/KingSystem/ActorSystem')
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorCaptureMgr.cpp | 2 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorCaptureMgr.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp b/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp index 32f1525b..1c2c0096 100644 --- a/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp +++ b/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp @@ -30,7 +30,7 @@ void ActorCaptureMgr::init(const InitArg& arg) { mDummyFile.load("Actor/ActorCapture/Dummy.bactcapt", &req); } -void ActorCaptureMgr::setCamera(Camera* camera) { +void ActorCaptureMgr::setCamera(Actor* camera) { if (camera) mCamera = camera; } diff --git a/src/KingSystem/ActorSystem/actActorCaptureMgr.h b/src/KingSystem/ActorSystem/actActorCaptureMgr.h index 091fde8d..b71e531a 100644 --- a/src/KingSystem/ActorSystem/actActorCaptureMgr.h +++ b/src/KingSystem/ActorSystem/actActorCaptureMgr.h @@ -14,7 +14,6 @@ class EntryFactoryBase; namespace ksys::act { class Actor; -class Camera; // TODO: incomplete class ActorCaptureMgr { @@ -27,14 +26,14 @@ public: virtual ~ActorCaptureMgr(); void init(const InitArg& arg); - void setCamera(Camera* camera); + void setCamera(Actor* camera); void loadCaptureParam(); const char* getCapturedActorName() const; private: Actor* mActor{}; - Camera* mCamera{}; + Actor* mCamera{}; res::EntryFactoryBase* mFactory{}; res::Handle mDummyFile; res::Handle mCaptureParamFile; |
