prime/include/MetroidPrime/ScriptObjects/CScriptBeam.hpp

27 lines
785 B
C++
Raw Normal View History

2022-10-31 23:46:20 +00:00
#ifndef _CSCRIPTBEAM
#define _CSCRIPTBEAM
#include "MetroidPrime/CActor.hpp"
#include "MetroidPrime/CDamageInfo.hpp"
#include "MetroidPrime/Weapons/CBeamInfo.hpp"
class CWeaponDescription;
class CScriptBeam : public CActor {
TLockedToken< CWeaponDescription > xe8_weaponDescription;
CBeamInfo xf4_beamInfo;
CDamageInfo x138_damageInfo;
TUniqueId x154_projectileId;
public:
CScriptBeam(TUniqueId, const rstl::string&, const CEntityInfo&, const CTransform4f&, bool,
const TToken< CWeaponDescription >&, const CBeamInfo&, const CDamageInfo&);
~CScriptBeam();
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override;
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
};
#endif // _CSCRIPTBEAM