2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 23:11:20 +00:00
metaforce/Runtime/World/CScriptTimer.hpp
Lioncash 36d04456dd General: Normalize RuntimeCommonB include paths
Finishes the normalizing of all of includes within the RuntimeCommonB target's headers.
2019-09-23 17:22:37 -04:00

29 lines
720 B
C++

#pragma once
#include <string_view>
#include "Runtime/World/CEntity.hpp"
namespace urde {
class CScriptTimer : public CEntity {
float x34_time;
float x38_startTime;
float x3c_maxRandDelay;
bool x40_loop;
bool x41_autoStart;
bool x42_isTiming;
public:
CScriptTimer(TUniqueId, std::string_view name, const CEntityInfo& info, float, float, bool, bool, bool);
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override;
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
bool IsTiming() const;
void StartTiming(bool isTiming);
void Reset(CStateManager&);
void ApplyTime(float, CStateManager&);
};
} // namespace urde