Inheritance: IRenderOverlay, IWorldLoaded, ITickRender, INotifyActorDisposing
Exemple #1
0
 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];
 }
Exemple #2
0
 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>();
 }