public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { playerAttributes.IncreaseControl(0.15f); playerAttributes.IncreaseImpact(-0.05f); }
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { terrainAttributes.SetMaterial(MaterialType.WATER, MaterialType.BUNKER); }
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { playerAttributes.IncreasePower(0.1f); }
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { TerrainType green = terrainAttributes.GetGreenTerrain(); green.SetFriction(green.GetFriction() * 4 / 5f); }
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { terrainAttributes.RandomizeSwapMap(); }
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { TerrainType tee = terrainAttributes.GetTeeTerrain(); tee.SetLieRate(tee.GetLieRate() + 0.05f); }
public void SetTerrainAttributes(TerrainAttributes terrainAttributes) { this.terrainAttributes = terrainAttributes; }
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { TerrainType bunker = terrainAttributes.GetBunkerTerrain(); bunker.SetFriction(bunker.GetFriction() * 5 / 4f); }
public abstract void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes);
public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes) { playerAttributes.IncreaseImpact(-0.1f); }