Skip to content

Instantly share code, notes, and snippets.

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>
using UnityEngine;
using System.Collections;
using ProceduralLevelGeneration;
public class LevelInterpreter : MonoBehaviour {
public GameObject Wall;
public GameObject Door;
public GameObject[] floors;
GameObject FinishedLevel;
Stack floorsInLevel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProceduralLevelGeneration {
public class Level {
int levelWidth;
int levelHeight;
public int NumberOfRooms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ProceduralLevelGeneration {
public class Level {
int levelWidth;
int levelHeight;
public int NumberOfRooms;