mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-30 04:24:17 +00:00
23 lines
658 B
C++
23 lines
658 B
C++
#pragma once
|
|
|
|
#include "Library/LiveActor/LiveActor.h"
|
|
|
|
namespace al {
|
|
class ChildStep : public LiveActor {
|
|
public:
|
|
ChildStep(const char* name, LiveActor* parent);
|
|
|
|
void init(const ActorInitInfo& info) override;
|
|
bool receiveMsg(const SensorMsg* message, HitSensor* other, HitSensor* self) override;
|
|
void exeWait();
|
|
|
|
private:
|
|
LiveActor* mParent;
|
|
sead::Vector3f mPos = sead::Vector3f::zero;
|
|
};
|
|
|
|
s32 calcChildStepCount(const ActorInitInfo& info);
|
|
void tryInitSubActorKeeperChildStep(LiveActor* actor, const ActorInitInfo& info);
|
|
void createChildStep(const ActorInitInfo& info, LiveActor* parent, bool isSyncClipping);
|
|
} // namespace al
|