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 07:21:28 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
|
|
|
void Accept(IVisitor& visitor);
|
2022-10-16 13:31:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTCOUNTER
|