Пример #1
0
 internal bool <> m__0(IntVec3 c)
 {
     if (c.GetFirstItem(this.map) != null)
     {
         return(false);
     }
     if (!c.Standable(this.map))
     {
         SurfaceType surfaceType = c.GetSurfaceType(this.map);
         if (surfaceType != SurfaceType.Item && surfaceType != SurfaceType.Eat)
         {
             return(false);
         }
     }
     return(true);
 }
Пример #2
0
 public static bool HasEatSurface(this IntVec3 c, Map map)
 {
     return(c.GetSurfaceType(map) == SurfaceType.Eat);
 }