Kill ITerrainTypeModifier for explicit updating of a custom layer in the map. Functionally equivalent, but MUCH faster.
This commit is contained in:
@@ -48,7 +48,6 @@ namespace OpenRA.Traits
|
||||
public interface IAvoidHazard { string Type { get; } }
|
||||
public interface IStoreOre { int Capacity { get; }}
|
||||
|
||||
public interface ITerrainTypeModifier { string GetTerrainType(int2 cell); }
|
||||
public interface ITerrainCost { float GetTerrainCost(int2 cell, Actor forActor); }
|
||||
|
||||
public interface IDisable { bool Disabled { get; } }
|
||||
|
||||
Reference in New Issue
Block a user