mirror of https://github.com/AxioDL/metaforce.git
CFlaahgra: Add Accept
This commit is contained in:
parent
970aac39a5
commit
7833b9532b
|
@ -119,6 +119,8 @@ CFlaahgra::CFlaahgra(TUniqueId uid, std::string_view name, const CEntityInfo& in
|
|||
}
|
||||
}
|
||||
|
||||
void CFlaahgra::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
||||
|
||||
void CFlaahgra::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr) {
|
||||
switch (msg) {
|
||||
case EScriptObjectMessage::InitializedInArea: {
|
||||
|
|
|
@ -193,6 +193,7 @@ public:
|
|||
CFlaahgra(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, const CAnimRes&,
|
||||
const CPatternedInfo&, const CActorParameters&, const CFlaahgraData&);
|
||||
|
||||
void Accept(IVisitor& visitor) override;
|
||||
void Think(float, CStateManager&) override;
|
||||
void PreThink(float, CStateManager&) override;
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
||||
|
|
Loading…
Reference in New Issue