Ejemplo n.º 1
0
        public void Reset()
        {
            var levelData = LoadLevelData(_lastLevelPlayed);

            _lpm = LevelPlayModelFactory.Create(levelData);
            LevelManager.Setup(_lpm);
            WinPanel.gameObject.SetActive(false);
        }
Ejemplo n.º 2
0
        private LevelPlayModel CreateTestLevelPlayModel()
        {
            var data  = "RcwrBGoy";
            var level = new List <string> {
                data
            };

            return(LevelPlayModelFactory.Create(level, 1, 1));
        }
Ejemplo n.º 3
0
        private LevelPlayModel CreateOtherTestLPM()
        {
            var cellOne = "RcwrBGoy";
            var cellTwo = "RcrwBGoy";

            var level = new List <string> {
                cellOne, cellTwo
            };

            return(LevelPlayModelFactory.Create(level, 2, 1));
        }
Ejemplo n.º 4
0
        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));
        }