public LaysTerrain(Actor self, LaysTerrainInfo info) { this.info = info; layer = self.World.WorldActor.Trait <BuildableTerrainLayer>(); bi = self.World.WorldActor.Trait <BuildingInfluence>(); template = self.World.TileSet.Templates[info.Template]; }
public LaysTerrain(Actor self, LaysTerrainInfo info) : base(info) { layer = self.World.WorldActor.Trait <BuildableTerrainLayer>(); template = self.World.Map.Rules.TileSet.Templates[info.Template]; buildingInfo = self.Info.TraitInfo <BuildingInfo>(); }