Exemple #1
0
 void Start()
 {
     /*if (Config.RandomSeed != 0)
         Random.seed = Config.RandomSeed;*/
     GenerateSprite ();
     Paint ();
     bsp = new BSP (FloorSize.x, FloorSize.y, 0, 0);
     for (int i = 0; i < NumberOfIterations; i++) {
         bsp.Grow ();
     }
     bsp.Paint (LevelSprite.texture);
 }