mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-13 01:53:29 +00:00
27 lines
585 B
C++
27 lines
585 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:
|
|
CAreaAttributes(CScriptObject *pObj);
|
|
~CAreaAttributes();
|
|
void SetObject(CScriptObject *pObj);
|
|
bool IsLayerEnabled() const;
|
|
bool IsSkyEnabled() const;
|
|
CModel* SkyModel() const;
|
|
|
|
inline CScriptObject* Instance() const { return mpObject; }
|
|
};
|
|
|
|
#endif // CAREAATTRIBUTES_H
|