当前位置: 首页>>代码示例>>C#>>正文


C# GameObjectList.Add方法代码示例

本文整理汇总了C#中GameObjects.GameObjectList.Add方法的典型用法代码示例。如果您正苦于以下问题:C# GameObjectList.Add方法的具体用法?C# GameObjectList.Add怎么用?C# GameObjectList.Add使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GameObjects.GameObjectList的用法示例。


在下文中一共展示了GameObjectList.Add方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GetDiplomaticRelationDisplayListByFactionID

 public GameObjectList GetDiplomaticRelationDisplayListByFactionID(int factionID)
 {
     GameObjectList list = new GameObjectList();
     foreach (DiplomaticRelation relation in this.DiplomaticRelations.Values)
     {
         if (relation.RelationFaction1ID == factionID)
         {
             list.Add(new DiplomaticRelationDisplay(relation, relation.RelationFaction2String));
         }
         else if (relation.RelationFaction2ID == factionID)
         {
             list.Add(new DiplomaticRelationDisplay(relation, relation.RelationFaction1String));
         }
     }
     return list;
 }
开发者ID:skicean,项目名称:ZhongHuaSanGuoZhi,代码行数:16,代码来源:DiplomaticRelationTable.cs

示例2: GetSectionAIDetailList

 public GameObjectList GetSectionAIDetailList()
 {
     GameObjectList list = new GameObjectList();
     foreach (SectionAIDetail detail in this.SectionAIDetails.Values)
     {
         list.Add(detail);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:SectionAIDetailTable.cs

示例3: GetTextMessageList

 public GameObjectList GetTextMessageList()
 {
     GameObjectList list = new GameObjectList();
     foreach (TextMessage message in this.TextMessages.Values)
     {
         list.Add(message);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:TextMessageTable.cs

示例4: GetTerrainDetailList

 public GameObjectList GetTerrainDetailList()
 {
     GameObjectList list = new GameObjectList();
     foreach (TerrainDetail detail in this.TerrainDetails.Values)
     {
         list.Add(detail);
     }
     return list;
 }
开发者ID:skicean,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:TerrainDetailTable.cs

示例5: GetConditionKindList

 public GameObjectList GetConditionKindList()
 {
     GameObjectList list = new GameObjectList();
     foreach (ConditionKind kind in this.ConditionKinds.Values)
     {
         list.Add(kind);
     }
     return list;
 }
开发者ID:skicean,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:ConditionKindTable.cs

示例6: GetStratagemList

 public GameObjectList GetStratagemList()
 {
     GameObjectList list = new GameObjectList();
     foreach (Stratagem stratagem in this.Stratagems.Values)
     {
         list.Add(stratagem);
     }
     return list;
 }
开发者ID:skicean,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:StratagemTable.cs

示例7: GetTechniqueList

 public GameObjectList GetTechniqueList()
 {
     GameObjectList list = new GameObjectList();
     foreach (Technique technique in this.Techniques.Values)
     {
         list.Add(technique);
     }
     return list;
 }
开发者ID:k45399735,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:TechniqueTable.cs

示例8: GetEventEffectList

 public GameObjectList GetEventEffectList()
 {
     GameObjectList list = new GameObjectList();
     foreach (EventEffect effect in this.EventEffects.Values)
     {
         list.Add(effect);
     }
     return list;
 }
开发者ID:skicean,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:EventEffectTable.cs

示例9: GetInfluenceKindList

 public GameObjectList GetInfluenceKindList()
 {
     GameObjectList list = new GameObjectList();
     foreach (InfluenceKind kind in this.InfluenceKinds.Values)
     {
         list.Add(kind);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:InfluenceKindTable.cs

示例10: GetTitleList

 public GameObjectList GetTitleList()
 {
     GameObjectList list = new GameObjectList();
     foreach (Title title in this.Titles.Values)
     {
         list.Add(title);
     }
     return list;
 }
开发者ID:k45399735,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:TitleTable.cs

示例11: GetEventEffectKindList

 public GameObjectList GetEventEffectKindList()
 {
     GameObjectList list = new GameObjectList();
     foreach (EventEffectKind kind in this.EventEffectKinds.Values)
     {
         list.Add(kind);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:EventEffectKindTable.cs

示例12: GetBiographyList

 public GameObjectList GetBiographyList()
 {
     GameObjectList list = new GameObjectList();
     foreach (Biography biography in this.Biographys.Values)
     {
         list.Add(biography);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:BiographyTable.cs

示例13: GetFacilityKindList

 public GameObjectList GetFacilityKindList()
 {
     GameObjectList list = new GameObjectList();
     foreach (FacilityKind kind in this.FacilityKinds.Values)
     {
         list.Add(kind);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:FacilityKindTable.cs

示例14: GetAnimationList

 public GameObjectList GetAnimationList()
 {
     GameObjectList list = new GameObjectList();
     foreach (Animation animation in this.Animations.Values)
     {
         list.Add(animation);
     }
     return list;
 }
开发者ID:skicean,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:AnimationTable.cs

示例15: Getguanjuedezhongleiliebiao

 public GameObjectList Getguanjuedezhongleiliebiao()
 {
     GameObjectList list = new GameObjectList();
     foreach (guanjuezhongleilei kind in this.guanjuedezhongleizidian.Values)
     {
         list.Add(kind);
     }
     return list;
 }
开发者ID:simon217,项目名称:ZhongHuaSanGuoZhi,代码行数:9,代码来源:guanjuezhongleibiao.cs


注:本文中的GameObjects.GameObjectList.Add方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。