mirror of https://github.com/PrimeDecomp/prime.git
28 lines
873 B
C++
28 lines
873 B
C++
|
#ifndef _CSCRIPTBALLTRIGGER
|
||
|
#define _CSCRIPTBALLTRIGGER
|
||
|
|
||
|
#include "MetroidPrime/ScriptObjects/CScriptTrigger.hpp"
|
||
|
|
||
|
class CScriptBallTrigger : public CScriptTrigger {
|
||
|
public:
|
||
|
CScriptBallTrigger(TUniqueId, const rstl::string&, const CEntityInfo&, const CVector3f&,
|
||
|
const CVector3f&, bool, float, float, float, const CVector3f&, bool);
|
||
|
~CScriptBallTrigger();
|
||
|
|
||
|
void Accept(IVisitor&) override;
|
||
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
||
|
void Think(float, CStateManager& mgr) override;
|
||
|
void InhabitantAdded(CActor&, CStateManager&) override;
|
||
|
void InhabitantExited(CActor&, CStateManager&) override;
|
||
|
|
||
|
private:
|
||
|
float x150_force;
|
||
|
float x154_minAngle;
|
||
|
float x158_maxDistance;
|
||
|
CVector3f x15c_forceAngle;
|
||
|
bool x168_24_canApplyForce : 1;
|
||
|
bool x168_25_stopPlayer : 1;
|
||
|
};
|
||
|
|
||
|
#endif // _CSCRIPTBALLTRIGGER
|