Exemplo n.º 1
0
 public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
 {
     playerAttributes.IncreaseControl(0.15f);
     playerAttributes.IncreaseImpact(-0.05f);
 }
Exemplo n.º 2
0
 public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
 {
     terrainAttributes.SetMaterial(MaterialType.WATER, MaterialType.BUNKER);
 }
Exemplo n.º 3
0
 public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
 {
     playerAttributes.IncreasePower(0.1f);
 }
Exemplo n.º 4
0
    public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
    {
        TerrainType green = terrainAttributes.GetGreenTerrain();

        green.SetFriction(green.GetFriction() * 4 / 5f);
    }
Exemplo n.º 5
0
 public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
 {
     terrainAttributes.RandomizeSwapMap();
 }
Exemplo n.º 6
0
    public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
    {
        TerrainType tee = terrainAttributes.GetTeeTerrain();

        tee.SetLieRate(tee.GetLieRate() + 0.05f);
    }
Exemplo n.º 7
0
 public void SetTerrainAttributes(TerrainAttributes terrainAttributes)
 {
     this.terrainAttributes = terrainAttributes;
 }
Exemplo n.º 8
0
    public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
    {
        TerrainType bunker = terrainAttributes.GetBunkerTerrain();

        bunker.SetFriction(bunker.GetFriction() * 5 / 4f);
    }
Exemplo n.º 9
0
 public abstract void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes);
Exemplo n.º 10
0
 public override void Apply(PlayerAttributes playerAttributes, TerrainAttributes terrainAttributes)
 {
     playerAttributes.IncreaseImpact(-0.1f);
 }