Skip to content
Snippets Groups Projects
Commit 758cc2b8 authored by Robin Ruud Kristensen's avatar Robin Ruud Kristensen
Browse files

added clear map functions

parent 039f77e5
No related branches found
No related tags found
2 merge requests!76Juliuses nye super branch,!67maybe fixed spawning of enemies
......@@ -14,6 +14,7 @@ namespace Bigsock
public override void RunProceduralGeneration()
{
roomList.Clear();
for (int i = 0; i <= RoomCount - 1; i++)
{
......@@ -41,5 +42,10 @@ namespace Bigsock
{
return roomList.Count;
}
public static void ClearRoomList()
{
roomList.Clear();
}
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment