This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ProceduralLevelGeneration { | |
/// <summary> | |
/// Room classs is deisgned to represent a room in level generation | |
/// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using ProceduralLevelGeneration; | |
public class LevelInterpreter : MonoBehaviour { | |
public GameObject Wall; | |
public GameObject Door; | |
public GameObject[] floors; | |
GameObject FinishedLevel; | |
Stack floorsInLevel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ProceduralLevelGeneration { | |
public class Level { | |
int levelWidth; | |
int levelHeight; | |
public int NumberOfRooms; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ProceduralLevelGeneration { | |
public class Level { | |
int levelWidth; | |
int levelHeight; | |
public int NumberOfRooms; |