mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-13 10:48:59 +00:00
26 lines
519 B
C++
Executable file
26 lines
519 B
C++
Executable file
#pragma once
|
|
|
|
#include <basis/seadTypes.h>
|
|
|
|
namespace al {
|
|
class ISceneObj;
|
|
class ActorInitInfo;
|
|
|
|
class SceneObjHolder {
|
|
public:
|
|
SceneObjHolder(ISceneObj* (*)(s32), s32);
|
|
ISceneObj* create(s32);
|
|
ISceneObj* tryGetObj(s32) const;
|
|
ISceneObj* getObj(s32) const;
|
|
bool isExist(s32) const;
|
|
void setSceneObj(ISceneObj*, s32);
|
|
void initAfterPlacementSceneObj(const ActorInitInfo&);
|
|
|
|
private:
|
|
ISceneObj* (*mCreator)(s32);
|
|
ISceneObj** mSceneObjArray;
|
|
s32 mArraySize;
|
|
};
|
|
|
|
} // namespace al
|