2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:07:41 +00:00

More CMorphBall implementations

This commit is contained in:
Jack Andersen
2017-09-17 17:02:48 -10:00
parent 2c4967ca4d
commit 41032d0a7c
11 changed files with 610 additions and 71 deletions

View File

@@ -0,0 +1,26 @@
#ifndef __URDE_CSCRIPTSPIDERBALLATTRACTIONSURFACE_HPP__
#define __URDE_CSCRIPTSPIDERBALLATTRACTIONSURFACE_HPP__
#include "CActor.hpp"
namespace urde
{
class CScriptSpiderBallAttractionSurface : public CActor
{
zeus::CVector3f xe8_scale;
zeus::CAABox xf4_aabb;
public:
CScriptSpiderBallAttractionSurface(TUniqueId uid, const std::string& name, const CEntityInfo& info,
const zeus::CTransform& xf, const zeus::CVector3f& scale, bool active);
void Accept(IVisitor& visitor);
void Think(float dt, CStateManager& mgr);
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr);
rstl::optional_object<zeus::CAABox> GetTouchBounds() const;
void Touch(CActor& actor, CStateManager& mgr);
const zeus::CVector3f& GetScale() const { return xe8_scale; }
};
}
#endif // __URDE_CSCRIPTSPIDERBALLATTRACTIONSURFACE_HPP__