2022-10-16 13:31:44 +00:00
|
|
|
#ifndef _CSCRIPTCOUNTER
|
|
|
|
#define _CSCRIPTCOUNTER
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
class CScriptCounter : public CEntity {
|
|
|
|
int x34_initial;
|
|
|
|
int x38_current;
|
|
|
|
int x3c_max;
|
|
|
|
uchar x40_autoReset;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScriptCounter(TUniqueId, const rstl::string& name, const CEntityInfo& info, int, int, bool, bool);
|
|
|
|
~CScriptCounter();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
|
|
|
|
void Accept(IVisitor& visitor) override;
|
2022-10-16 13:31:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTCOUNTER
|