metaforce/Runtime/World/CScriptSwitch.hpp

20 lines
469 B
C++

#ifndef __URDE_CSCRIPTSWITCH_HPP__
#define __URDE_CSCRIPTSWITCH_HPP__
#include "CEntity.hpp"
namespace urde
{
class CScriptSwitch : public CEntity
{
bool x34_opened;
bool x35_closeOnOpened;
public:
CScriptSwitch(TUniqueId, const std::string&, const CEntityInfo&, bool, bool, bool);
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
};
}
#endif // __URDE_CSCRIPTSWITCH_HPP__