public RoofDef RoofAt(IntVec3 c)
 {
     return(DefDatabase <RoofDef> .GetByShortHash(this.roofGrid[this.map.cellIndices.CellToIndex(c)]));
 }
 public RoofDef RoofAt(int x, int z)
 {
     return(DefDatabase <RoofDef> .GetByShortHash(this.roofGrid[this.map.cellIndices.CellToIndex(x, z)]));
 }
Beispiel #3
0
 public static HediffDef Named(string defName)
 {
     return(DefDatabase <HediffDef> .GetNamed(defName));
 }