Пример #1
0
 public static bool IsForbiddenToPass(this Building_Door t, Pawn pawn)
 {
     return(ForbidUtility.CaresAboutForbidden(pawn, false) && t.IsForbidden(pawn.Faction));
 }
 public override void Draw()
 {
     base.Rotation = Building_Door.DoorRotationAt(base.Position, base.Map);
     base.Draw();
 }