mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-28 03:24:35 +00:00
26 lines
684 B
C++
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
|