Exemplo n.º 1
0
 public void UnequipTool(UnitTool tool)
 {
     if (tools.Remove(tool))
     {
         tool.IsEquipped = false;
         tool.OnUnequip();
     }
 }
Exemplo n.º 2
0
 public void UnequipTool(UnitTool tool)
 {
     if (tools.Remove(tool)) {
         tool.IsEquipped = false;
         tool.OnUnequip();
     }
 }