2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CSCRIPTSWITCH
|
|
|
|
#define _CSCRIPTSWITCH
|
|
|
|
|
|
|
|
#include "types.h"
|
2022-10-08 06:55:54 +00:00
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
class CScriptSwitch : public CEntity {
|
|
|
|
public:
|
|
|
|
CScriptSwitch(TUniqueId uid, const rstl::string& name, const CEntityInfo& info, bool, bool, bool);
|
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr);
|
2022-10-08 06:56:56 +00:00
|
|
|
~CScriptSwitch();
|
2022-10-08 06:55:54 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
u8 mOpened;
|
|
|
|
u8 mCloseOnOpened;
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CSCRIPTSWITCH
|