mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-04-27 02:54:08 +00:00
40 lines
1 KiB
C++
40 lines
1 KiB
C++
#include "Library/Layout/LayoutActor.h"
|
|
|
|
#include "Library/Audio/System/AudioKeeper.h"
|
|
#include "Library/Layout/LayoutActorUtil.h"
|
|
#include "Library/Layout/LayoutPartsActorKeeper.h"
|
|
#include "Library/Layout/LayoutSceneInfo.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;
|
|
}
|
|
|
|
CameraDirector* LayoutActor::getCameraDirector() const {
|
|
return mLayoutSceneInfo->getCameraDirector();
|
|
}
|
|
|
|
SceneObjHolder* LayoutActor::getSceneObjHolder() const {
|
|
return mLayoutSceneInfo->getSceneObjHolder();
|
|
}
|
|
|
|
const MessageSystem* LayoutActor::getMessageSystem() const {
|
|
return mLayoutSceneInfo->getMessageSystem();
|
|
}
|
|
|
|
} // namespace al
|