2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 13:51:21 +00:00
metaforce/Runtime/World/CScriptBallTrigger.hpp
Lioncash 2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00

25 lines
813 B
C++

#pragma once
#include "CScriptTrigger.hpp"
namespace urde {
class CScriptBallTrigger : public CScriptTrigger {
float x150_force;
float x154_minAngle;
float x158_maxDistance;
zeus::CVector3f x15c_forceAngle = zeus::skZero3f;
bool x168_24_canApplyForce : 1;
bool x168_25_stopPlayer : 1;
public:
CScriptBallTrigger(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CVector3f&, const zeus::CVector3f&,
bool, float, float, float, const zeus::CVector3f&, bool);
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;
};
} // namespace urde