2022-10-09 01:13:17 -04:00
|
|
|
#ifndef _CSCRIPTSWITCH
|
|
|
|
|
#define _CSCRIPTSWITCH
|
|
|
|
|
|
|
|
|
|
#include "types.h"
|
2022-10-07 23:55:54 -07: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-07 23:56:56 -07:00
|
|
|
~CScriptSwitch();
|
2022-10-07 23:55:54 -07:00
|
|
|
|
|
|
|
|
private:
|
2025-05-23 13:36:07 -07:00
|
|
|
bool mOpened;
|
|
|
|
|
bool mCloseOnOpened;
|
2022-10-07 23:55:54 -07:00
|
|
|
};
|
|
|
|
|
|
2022-10-09 01:13:17 -04:00
|
|
|
#endif // _CSCRIPTSWITCH
|