public CCBGameTemplate(string name, CCBGame gameFrom) { m_name = name; m_propertyList = new CharacterPropertyTemplateList(); m_bags = new CCBBags(); Rebase(gameFrom); }
public CCBGameTemplate(CCBGame gameFrom) { m_name = gameFrom.Name + " Template"; m_propertyList = new CharacterPropertyTemplateList(); m_bags = new CCBBags(); Rebase(gameFrom); }
public CCBCharacter() { m_id = m_nextId++; m_name = System.String.Format("NewCharacter{0}", m_id); m_propertyList = new CharacterPropertyList(); m_items = new CCBLockedBag("Items"); m_bags = new CCBBags(); }
public CCBGame(string name) { m_name = name; m_characters = new CCBCharacterList(); m_groupItems = new CCBBag(m_kGroupItemLabel); m_groupBags = new CCBBags(); m_propertyTemplateList = new CharacterPropertyTemplateList(); }
public CCBCharacter(string name) { m_id = m_nextId++; m_name = name; m_propertyList = new CharacterPropertyList(); m_items = new CCBLockedBag("Items"); m_bags = new CCBBags(); m_image = null; }
public CCBBag AddBag(CCBBag bag) { if (null == m_bags) { m_bags = new CCBBags(); } m_bags.Add(bag); return(bag); }
public CCBBag AddBag(string name) { CCBBag newBag = new CCBBag(name); if (null == m_bags) { m_bags = new CCBBags(); } m_bags.Add(newBag); return(newBag); }
public CCBGame(string name, CCBGameTemplate templateFrom) { m_name = name; m_characters = new CCBCharacterList(); m_groupItems = new CCBBag(m_kGroupItemLabel); m_groupBags = new CCBBags(); m_propertyTemplateList = new CharacterPropertyTemplateList(); foreach (CCBCharacterPropertyTemplate templateProperty in templateFrom.PropertyTemplateList) { m_propertyTemplateList.Add(new CCBCharacterPropertyTemplate(templateProperty)); } foreach (CCBBag bag in templateFrom.Bags) { m_groupBags.Add(new CCBBag(bag)); } }
public CCBGameTemplate(string name) { m_name = name; m_propertyList = new CharacterPropertyTemplateList(); m_bags = new CCBBags(); }
public CCBGameTemplate() { m_name = ""; m_propertyList = new CharacterPropertyTemplateList(); m_bags = new CCBBags(); }