상속: IRenderOverlay, IWorldLoaded, ITickRender, INotifyActorDisposing
예제 #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];
 }
예제 #2
0
파일: LaysTerrain.cs 프로젝트: zredb/OpenRA
 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>();
 }