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