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();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void Accept(IVisitor& visitor) override;
|
|
|
|
void Think(float, CStateManager&) override;
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
2022-10-31 23:46:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTBEAM
|