-начал функцию для подгонки комнаты под размеры
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user