public Campaign() { Debug.WG("Generating World -> Cities..."); Cities = ProGen.GenerateCities(); Debug.WG("Generating World -> Adventure..."); Adventure = ProGen.GenerateAdventure(); }
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); } }
public static Adventures GenerateAdventure() { Adventures Adventure = new Adventures(); return(Adventure); }