public void Reset() { var levelData = LoadLevelData(_lastLevelPlayed); _lpm = LevelPlayModelFactory.Create(levelData); LevelManager.Setup(_lpm); WinPanel.gameObject.SetActive(false); }
private LevelPlayModel CreateTestLevelPlayModel() { var data = "RcwrBGoy"; var level = new List <string> { data }; return(LevelPlayModelFactory.Create(level, 1, 1)); }
private LevelPlayModel CreateOtherTestLPM() { var cellOne = "RcwrBGoy"; var cellTwo = "RcrwBGoy"; var level = new List <string> { cellOne, cellTwo }; return(LevelPlayModelFactory.Create(level, 2, 1)); }
private LevelPlayModel CreateThreeTestLPM() { var cellOne = "RcwrBGoy"; var cellTwo = "RcrwBGoy"; var cellThree = "Bcrwrwrw"; var cellFour = "Ee"; var level = new List <string> { cellOne, cellTwo, cellFour, cellThree }; return(LevelPlayModelFactory.Create(level, 2, 2)); }