mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-19 01:46:27 +00:00
CAreaAttributes: Make constructor explicit
This commit is contained in:
@@ -13,14 +13,14 @@ class CAreaAttributes
|
|||||||
CAssetRef mOverrideSky;
|
CAssetRef mOverrideSky;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CAreaAttributes(CScriptObject *pObj);
|
explicit CAreaAttributes(CScriptObject *pObj);
|
||||||
~CAreaAttributes();
|
~CAreaAttributes();
|
||||||
void SetObject(CScriptObject *pObj);
|
void SetObject(CScriptObject *pObj);
|
||||||
bool IsLayerEnabled() const;
|
bool IsLayerEnabled() const;
|
||||||
bool IsSkyEnabled() const;
|
bool IsSkyEnabled() const;
|
||||||
CModel* SkyModel() const;
|
CModel* SkyModel() const;
|
||||||
|
|
||||||
inline CScriptObject* Instance() const { return mpObject; }
|
CScriptObject* Instance() const { return mpObject; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CAREAATTRIBUTES_H
|
#endif // CAREAATTRIBUTES_H
|
||||||
|
|||||||
Reference in New Issue
Block a user