prime/include/MetroidPrime/ScriptObjects/CScriptCounter.hpp

21 lines
509 B
C++
Raw Normal View History

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();
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
void Accept(IVisitor& visitor) override;
};
#endif // _CSCRIPTCOUNTER