PathSearch patched to support ICustomTerrain

This commit is contained in:
Chris Forbes
2010-01-19 10:32:03 +13:00
parent 76a9e293b2
commit f0b26e8ee2
3 changed files with 23 additions and 25 deletions

View File

@@ -25,7 +25,7 @@ namespace OpenRa.Traits
public interface IAcceptThief { void OnSteal(Actor self, Actor thief); }
public interface IAcceptSpy { void OnInfiltrate(Actor self, Actor spy); }
public interface ICustomTerrain { double GetCost(int2 p, UnitMovementType umt); }
public interface ICustomTerrain { float GetCost(int2 p, UnitMovementType umt); }
interface IProducer
{