Пример #1
0
 public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
 {
     RandomizeTerrainType(terrainAttributes.GetTeeTerrain());
     RandomizeTerrainType(terrainAttributes.GetGreenTerrain());
     RandomizeTerrainType(terrainAttributes.GetFairwayTerrain());
     RandomizeTerrainType(terrainAttributes.GetRoughTerrain());
     RandomizeTerrainType(terrainAttributes.GetBunkerTerrain());
     RandomizeTerrainType(terrainAttributes.GetWaterTerrain());
 }
Пример #2
0
    public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
    {
        TerrainType tee = terrainAttributes.GetTeeTerrain();

        tee.SetLieRate(tee.GetLieRate() + 0.05f);
    }