CScriptLayer: Make use of explicit
This commit is contained in:
parent
26f847494e
commit
363b19ebe6
|
@ -10,14 +10,13 @@
|
|||
class CScriptLayer
|
||||
{
|
||||
CGameArea *mpArea;
|
||||
TString mLayerName;
|
||||
TString mLayerName{"New Layer"};
|
||||
bool mActive = true;
|
||||
bool mVisible = true;
|
||||
std::vector<CScriptObject*> mInstances;
|
||||
public:
|
||||
CScriptLayer(CGameArea *pArea)
|
||||
explicit CScriptLayer(CGameArea *pArea)
|
||||
: mpArea(pArea)
|
||||
, mLayerName("New Layer")
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue