1#pragma once
2
3#include "Library/LiveActor/LiveActor.h"
4
5class SaveObjInfo;
6
7class ChurchDoor : public al::LiveActor {
8public:
9 ChurchDoor(const char* name);
10
11 void init(const al::ActorInitInfo& info) override;
12 bool receiveMsg(const al::SensorMsg* msg, al::HitSensor* other, al::HitSensor* self) override;
13
14 bool isOpenWait() const;
15 bool isDemoEnterChurch() const;
16 void startDemoEnterChurch();
17 void endDemoEnterChurch();
18
19 void exeCloseWait1();
20 void exeOpen1();
21 void exeCloseWait2();
22 void exeOpen2();
23 void exeCloseWait3();
24 void exeOpen3();
25 void exeOpenWait();
26 void exeDemoEnterChurch();
27
28private:
29 SaveObjInfo* mSaveObjInfo = nullptr;
30};
31