mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 13:45:53 +00:00
Spawning special rooms
This commit is contained in:
parent
56094e89a0
commit
6e26eb21b1
17 changed files with 502 additions and 54 deletions
|
|
@ -19,4 +19,9 @@ public partial class RogueliteRoomResource : Resource
|
|||
[Export] public DoorDirections DoorDirections { get; set; }
|
||||
|
||||
public bool HasDoors(DoorDirections required) => (DoorDirections & required) == required;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{RoomName} {Type} {Size.X}x{Size.Y}";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue