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; }); }
public SmartThemeElement Select(System.Random rand) { SmartElement = _pool.Get(rand); return(SmartElement); }