mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-05 11:15:04 +00:00
27 lines
No EOL
606 B
C++
27 lines
No EOL
606 B
C++
#pragma once
|
|
|
|
#include "ISceneObj.h"
|
|
|
|
namespace al {
|
|
|
|
class SceneObjHolder {
|
|
public:
|
|
SceneObjHolder(al::ISceneObj* (*)(int), int);
|
|
|
|
ISceneObj *tryGetObj(int) const; // unsafe get still
|
|
void setSceneObj(al::ISceneObj *,int);
|
|
bool isExist(int) const;
|
|
void initAfterPlacementSceneObj(struct ActorInitInfo const&);
|
|
ISceneObj *getObj(int) const;
|
|
void create(int);
|
|
|
|
};
|
|
|
|
class IUseSceneObjHolder
|
|
{
|
|
public:
|
|
virtual al::SceneObjHolder* getSceneObjHolder() const = 0;
|
|
|
|
static const char* sSceneObjName;
|
|
};
|
|
}; |