public void ProduceResource(TerrainType terrainType)
        {
            var resourceType = terrainType.GetResourceType();

            Owner.AddResource(resourceType, _resourceProductionMultiplier);
        }
Exemplo n.º 2
0
        public void TerrainProductionTest(TerrainType terrainType, ResourceType expectedResourceType)
        {
            var resourceType = terrainType.GetResourceType();

            resourceType.Should().Be(expectedResourceType);
        }