public int GetCountByLevel(ResourceType type, int level = 0)
 {
     if (type == ResourceType.Wood)
     {
         return(WoodDatabase.GetCountByLevel(level));
     }
     else
     {
         return(MetalDatabase.GetCountByLevel(level));
     }
 }