2016-12-19 18:27:58 +00:00
|
|
|
#ifndef __URDE_CSCRIPTSWITCH_HPP__
|
|
|
|
#define __URDE_CSCRIPTSWITCH_HPP__
|
|
|
|
|
|
|
|
#include "CEntity.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CScriptSwitch : public CEntity
|
|
|
|
{
|
2016-12-19 19:20:30 +00:00
|
|
|
bool x34_opened;
|
|
|
|
bool x35_closeOnOpened;
|
2016-12-19 18:27:58 +00:00
|
|
|
public:
|
|
|
|
CScriptSwitch(TUniqueId, const std::string&, const CEntityInfo&, bool, bool, bool);
|
|
|
|
|
2017-01-15 03:07:01 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
2016-12-19 18:27:58 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager &stateMgr);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CSCRIPTSWITCH_HPP__
|