Пример #1
0
 private bool CanPlace()
 {
     if (placeableInstance != null)
     {
         if (ResourceManager.GetInstance().CanAfford(-placeableInstance.GetWoodCost(), -placeableInstance.GetStoneCost(), -placeableInstance.GetMetalCost(), 0))
         {
             return(!placeableInstance.IsBlocked());
         }
     }
     return(false);
 }