mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-30 10:23:31 +00:00
CScriptLayer: Make use of explicit
This commit is contained in:
parent
26f847494e
commit
363b19ebe6
@ -10,14 +10,13 @@
|
|||||||
class CScriptLayer
|
class CScriptLayer
|
||||||
{
|
{
|
||||||
CGameArea *mpArea;
|
CGameArea *mpArea;
|
||||||
TString mLayerName;
|
TString mLayerName{"New Layer"};
|
||||||
bool mActive = true;
|
bool mActive = true;
|
||||||
bool mVisible = true;
|
bool mVisible = true;
|
||||||
std::vector<CScriptObject*> mInstances;
|
std::vector<CScriptObject*> mInstances;
|
||||||
public:
|
public:
|
||||||
CScriptLayer(CGameArea *pArea)
|
explicit CScriptLayer(CGameArea *pArea)
|
||||||
: mpArea(pArea)
|
: mpArea(pArea)
|
||||||
, mLayerName("New Layer")
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user