Exemple #1
0
 public static DrawAction <GenSpace> MergeIn(SmartThemeElement elements, System.Random random, Theme theme, GridType type = GridType.Doodad, bool typeOnlyDefault = false, bool themeOnlyDefault = false)
 {
     return((arr, x, y) =>
     {
         MergeIn(arr, x, y, new GenDeploy(elements.Get(random)), theme, type, typeOnlyDefault, themeOnlyDefault);
         return true;
     });
 }
Exemple #2
0
 public SmartThemeElement Select(System.Random rand)
 {
     SmartElement = _pool.Get(rand);
     return(SmartElement);
 }