prime/include/MetroidPrime/ScriptObjects/CScriptBeam.hpp

27 lines
758 B
C++

#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);
void Think(float, CStateManager&);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
};
#endif // _CSCRIPTBEAM