Esempio n. 1
0
        public static string[] Generate(int amount, NameFeed nameFeed)
        {
            if (Stage.currentStage == null || Stage.currentStage.seedF10 == 0) {
                Debug.LogError("NameGen requires the current stage to be defined.");
                Debug.Break();
            }

            NameGen.SetNameFeed(nameFeed);
            generateDialect();

            return generatePlanetNames(amount);
        }
Esempio n. 2
0
 public static void SetNameFeed(NameFeed feed)
 {
     NameGen.nameFeed = feed;
 }