Room
This commit is contained in:
parent
f4d87b156a
commit
bb476cc969
1 changed files with 6 additions and 2 deletions
|
@ -4,8 +4,12 @@ using UnityEngine;
|
||||||
|
|
||||||
public class Room : MonoBehaviour {
|
public class Room : MonoBehaviour {
|
||||||
|
|
||||||
[SerializeField]
|
public enum TileType {
|
||||||
int width, height; // Gridsize for Generation
|
GROUND, WALL, DOOR
|
||||||
|
}
|
||||||
|
|
||||||
|
Vector2 position;
|
||||||
|
Map<Vector2, TileType> tiles;
|
||||||
|
|
||||||
List<Door> doors;
|
List<Door> doors;
|
||||||
List<Transform> spawnpoints;
|
List<Transform> spawnpoints;
|
||||||
|
|
Loading…
Add table
Reference in a new issue