예제 #1
0
        private DungeonLevel LoadLevel(int levelIndex, Point?enterTile)
        {
            var nextLevel = Builder.GetLevel(levelIndex, this, enterTile);

            ActiveLevels.Add(nextLevel);
            return(nextLevel);
        }
예제 #2
0
        protected virtual DungeonLevel LoadLevel(int levelIndex, Point?enterTile)
        {
            var nextLevel = Builder.GetLevel(Factories, levelIndex, enterTile);

            ActiveLevels.Add(nextLevel);
            return(nextLevel);
        }