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