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…
Reference in New Issue