// Start is called before the first frame update void Start() { int length = GameStores.GetLength(); // Create underlying maze. m = new Maze(); m.Create(size); //m.MakeBoss(length); m.MakeRandomBoss(); m.PopulateColourRooms(colourRooms); m.RemoveDeadEnds(); m.AddCycles(); m.SetRisk(length); startX = m.GetStart().getX(); startY = m.GetStart().getY(); BuildRoom(0, 0); screenScroll.SetOnMove(BuildRoom); if (showMaze) { minimap.DisplayMaze(m); } minimap.DrawRoom(m.GetStart()); }