예제 #1
0
파일: NameGen.cs 프로젝트: Moxcr/armage
        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);
        }
예제 #2
0
파일: NameGen.cs 프로젝트: Moxcr/armage
 public static void SetNameFeed(NameFeed feed)
 {
     NameGen.nameFeed = feed;
 }