#1108 changed BuildingInfo.WaterBound to a list of terraintypes. makes it possible to have buildings with custom terrain requirements

This commit is contained in:
Chris Forbes
2011-08-16 18:42:05 +12:00
parent 55ec88316a
commit 67b4ef3084
15 changed files with 27 additions and 84 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenRA.Mods.RA.Buildings
public class BuildingInfo : ITraitInfo
{
public readonly int Power = 0;
public readonly bool WaterBound = false;
public readonly string[] TerrainTypes = {};
public readonly int Adjacent = 2;
public readonly string Footprint = "x";
public readonly int2 Dimensions = new int2(1, 1);