Esempio n. 1
0
 public void CollectGatherable(IGatherable g)
 {
     if (ToGatherItemsList.Contains(g))
     {
         Points += g.PointsWorth;
         ToGatherItemsList.Remove(g);
     }
 }
Esempio n. 2
0
 public bool GatheredAllItems()
 {
     return(ToGatherItemsList.Count() == 0);
 }
Esempio n. 3
0
 public void AddToCollectGatherable(IGatherable g)
 {
     ToGatherItemsList.Add(g);
 }