mirror of
https://github.com/PrimeDecomp/prime.git
synced 2026-03-31 14:22:54 -07:00
26 lines
696 B
C++
26 lines
696 B
C++
#ifndef _CSUSTAINEDPLAYERDAMAGE
|
|
#define _CSUSTAINEDPLAYERDAMAGE
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
#include "MetroidPrime/CDamageInfo.hpp"
|
|
|
|
class CSustainedPlayerDamage : public CEntity {
|
|
public:
|
|
CSustainedPlayerDamage(TUniqueId uid, const CEntityInfo& info, const bool active,
|
|
const rstl::string& name, const CDamageInfo& dInfo, float f1);
|
|
void Accept(IVisitor& visitor) override;
|
|
void Think(float dt, CStateManager& mgr) override;
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) override;
|
|
|
|
void StopDamaging(CStateManager& mgr);
|
|
|
|
private:
|
|
CDamageInfo mDamage;
|
|
float x50_;
|
|
float x54_;
|
|
bool x58_24 : 1;
|
|
};
|
|
|
|
|
|
#endif
|