Terrain speed modifiers

This commit is contained in:
Paul Chote
2010-04-17 20:42:42 +12:00
committed by Chris Forbes
parent 4a6c32bd9c
commit fcf8eb2726
14 changed files with 58 additions and 26 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA.GameRules
public TerrainCost(MiniYaml y) { FieldLoader.Load(this, y); }
public float GetSpeedMultiplier(UnitMovementType umt)
public float GetSpeedModifier(UnitMovementType umt)
{
switch (umt) /* todo: make this nice */
{