Moved Dungeon Map Generator to it's own solution.
This commit is contained in:
parent
5c46281334
commit
fd2a28afe5
50 changed files with 86389 additions and 84 deletions
20
DungeonMapGenerator/DungeonMapConsolePrinter/Program.cs
Normal file
20
DungeonMapGenerator/DungeonMapConsolePrinter/Program.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using DungeonMapGenerator;
|
||||
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// Create an instance of your DungeonMapGenerator class
|
||||
var generator = new DungeonGenerator();
|
||||
generator.GenerateDungeon(25, .5f);
|
||||
|
||||
// Call the method you want to run
|
||||
var map = generator.GenerateDungeon(25, .5f);
|
||||
|
||||
// Print the map to the console (assuming it returns a string or something printable)
|
||||
Console.WriteLine(map.GetMapAsString());
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue