Пример #1
0
 public HougekiListModel(List <Hougeki <BattleAtackKinds_Night> > hougeki, Dictionary <int, ShipModel_BattleAll> ships)
 {
     _list = new List <HougekiModel>();
     for (int i = 0; i < hougeki.Count; i++)
     {
         HougekiModel item = new HougekiModel(hougeki[i], ships);
         _list.Add(item);
     }
 }
Пример #2
0
 public HougekiListModel(List <Hougeki <BattleAtackKinds_Night> > hougeki, Dictionary <int, ShipModel_BattleAll> ships)
 {
     this._list = new List <HougekiModel>();
     for (int i = 0; i < hougeki.get_Count(); i++)
     {
         HougekiModel hougekiModel = new HougekiModel(hougeki.get_Item(i), ships);
         this._list.Add(hougekiModel);
     }
 }
Пример #3
0
 public HougekiModel GetNextData()
 {
     if (_list.Count > _phase_index)
     {
         HougekiModel result = _list[_phase_index];
         _phase_index++;
         return(result);
     }
     return(null);
 }
Пример #4
0
 public HougekiModel GetNextData()
 {
     if (this._list.get_Count() > this._phase_index)
     {
         HougekiModel result = this._list.get_Item(this._phase_index);
         this._phase_index++;
         return(result);
     }
     return(null);
 }