private void InitializeAttributes() { actualGameLevelLabel = GetNodeOrNull <Label>(actualGameLevelLabelNodePath); gameSettings = GetNodeOrNull <GameSettings>("/root/GameSettings"); gameConfig = new GameConfig(); gameConfig.Copy(gameSettings.GameConfig); markCheckBoxes = new Array <CheckBox>(); whoStartsCheckBoxes = new Array <CheckBox>(); InitializeCheckBoxArray(markCheckBoxes, markCheckBoxesAreaNodePath); InitializeCheckBoxArray(whoStartsCheckBoxes, whoStartsCheckBoxesAreaNodePath); UpdateGUI(); }