25 lines
511 B
C#
25 lines
511 B
C#
using UnityEngine;
|
|
|
|
namespace _Project.Scripts.LevelGenerating
|
|
{
|
|
public class Room
|
|
{
|
|
public Room(Vector2 position, int wigth, int length, RoomType rt)
|
|
{
|
|
Position = position;
|
|
Wigth = wigth;
|
|
Length = length;
|
|
this.rt = rt;
|
|
}
|
|
|
|
public Room()
|
|
{
|
|
}
|
|
|
|
public int Wigth { get; set; }
|
|
public int Length { get; set; }
|
|
public Vector2 Position;
|
|
public RoomType rt { get; set; }
|
|
}
|
|
|
|
} |