public Campaign()
 {
     Debug.WG("Generating World -> Cities...");
     Cities = ProGen.GenerateCities();
     Debug.WG("Generating World -> Adventure...");
     Adventure = ProGen.GenerateAdventure();
 }
Exemple #2
0
        static void LoadAdventureType(XmlNode Node)
        {
            int Count      = 0;
            int ChildCount = Node.ChildNodes.Count;

            Adventures[] AdTypes = new Adventures[ChildCount];
            foreach (XmlNode Child in Node.ChildNodes)
            {
                AdTypes[Count] = new Adventures();
                AdTypes[Count].SetAdventureType(Child.Name);
                Count++;
            }
            foreach (Adventures AdType in AdTypes)
            {
                AdventureTypes.Add(AdType);
            }
        }
Exemple #3
0
        public static Adventures GenerateAdventure()
        {
            Adventures Adventure = new Adventures();

            return(Adventure);
        }