-начал функцию для подгонки комнаты под размеры

This commit is contained in:
vladislove committed 2026-10-02 18:22:16 +03:00
1 parent e84940b8fe
commit 6f0520f9a0
2 files changed
+23 -3

No files matched your search

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using _Project.Scripts.Utilities;
using NUnit.Framework;
using UnityEngine;
@@ -14,5 +15,11 @@ namespace _Project.Scripts.LevelGenerating
{
Rooms.Add(room);
}
public Room GetLastRoom()
{
// return Rooms[Rooms.Count - 1];
return Rooms.Last();
}
}
}