Ejemplo n.º 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);
     }
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 3
0
 public HougekiModel GetNextData()
 {
     if (_list.Count > _phase_index)
     {
         HougekiModel result = _list[_phase_index];
         _phase_index++;
         return(result);
     }
     return(null);
 }
Ejemplo n.º 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);
 }