示例#1
0
文件: Program.cs 项目: vrum/roguelike
        private void GenerateStoryDungeon()
        {
            //Setup a single test level
            MapGeneratorTemplated templateGen = new MapGeneratorTemplated();

            //templateGen.GenerateMultiLevelDungeon();
            var mapInfo = templateGen.GenerateDungeonWithStory();

            LogFile.Log.LogEntryDebug("Player start: " + Game.Dungeon.Levels[Game.Dungeon.Player.LocationLevel].PCStartLocation, LogDebugLevel.High);

            //Extract connectivity map
            VisualiseConnectivityGraph(mapInfo.Model);
        }
示例#2
0
        private void GenerateStoryDungeon()
        {
            //Setup a single test level
            MapGeneratorTemplated templateGen = new MapGeneratorTemplated();

            //templateGen.GenerateMultiLevelDungeon();
            var mapInfo = templateGen.GenerateDungeonWithStory();

            LogFile.Log.LogEntryDebug("Player start: " + Game.Dungeon.Levels[Game.Dungeon.Player.LocationLevel].PCStartLocation, LogDebugLevel.High);

            //Extract connectivity map
            VisualiseConnectivityGraph(mapInfo.Model);
        }