Example #1
0
 public void Interract(IMobile from, IResourceSet to)
 {
     if (to.Disable)
     {
         return;
     }
     else
     {
         Players[from.GetOwnerID()].AddResources(to.ExtractResources());
         //ObjectsByPosition.Remove(to.GetID());
         to.Disable = true;
     }
 }