#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
