Начал делать генерацию комнат после первого коридора, до ии функций.
This commit is contained in:
1 parent
3a73877096
commit
3a3f1ea763
3 files changed
+71
-11
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,10 @@ namespace _Project.Scripts.LevelGenerating
|
||||
{
|
||||
Rooms.Add(room);
|
||||
}
|
||||
|
||||
public Room GetLastRoom()
|
||||
{
|
||||
return Rooms.LastOrDefault();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user