OdysseyDecomp/lib/al/Library/Layout/LayoutActor.cpp
2024-08-08 00:45:44 +02:00

26 lines
684 B
C++

#include "Library/Layout/LayoutActor.h"
#include "Library/Audio/AudioKeeper.h"
#include "Library/Layout/LayoutActorUtil.h"
#include "Library/Layout/LayoutPartsActorKeeper.h"
namespace al {
void LayoutActor::appear() {
mIsAlive = true;
if (mAudioKeeper)
mAudioKeeper->appear();
if (mLayoutPartsActorKeeper)
mLayoutPartsActorKeeper->appear();
updateLayoutPaneRecursive(this);
calcAnim(false);
}
void LayoutActor::initLayoutPartsActorKeeper(s32 capacity) {
mLayoutPartsActorKeeper = new LayoutPartsActorKeeper(capacity);
}
void LayoutActor::initLayoutKeeper(LayoutKeeper* layoutKeeper) {
mLayoutKeeper = layoutKeeper;
}
} // namespace al