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 {
|
||||
|
||||
[SerializeField]
|
||||
int width, height; // Gridsize for Generation
|
||||
public enum TileType {
|
||||
GROUND, WALL, DOOR
|
||||
}
|
||||
|
||||
Vector2 position;
|
||||
Map<Vector2, TileType> tiles;
|
||||
|
||||
List<Door> doors;
|
||||
List<Transform> spawnpoints;
|
||||
|
|
Loading…
Add table
Reference in a new issue