private void PickRandomSimpleBlock(LevelObject l) { int rand = Random.Range(0, 3); switch (rand) { case 0: l.AddBottomBlock(); break; case 1: l.AddMiddleBlock(); break; case 2: l.AddTopBlock(); break; case 3: l.AddWall(); break; } }