PrimeWorldEditor/src/Core/CAreaAttributes.h
2020-06-15 18:59:04 -04:00

27 lines
587 B
C++

#ifndef CAREAATTRIBUTES_H
#define CAREAATTRIBUTES_H
#include "Core/Resource/Script/CScriptObject.h"
#include "Core/Resource/Script/Property/Properties.h"
class CAreaAttributes
{
CScriptObject* mpObject;
EGame mGame;
CBoolRef mNeedSky;
CAssetRef mOverrideSky;
public:
explicit CAreaAttributes(CScriptObject *pObj);
~CAreaAttributes();
void SetObject(CScriptObject *pObj);
bool IsLayerEnabled() const;
bool IsSkyEnabled() const;
CModel* SkyModel() const;
CScriptObject* Instance() const { return mpObject; }
};
#endif // CAREAATTRIBUTES_H