Exemplo n.º 1
0
 public override void WindowUpdate()
 {
     base.WindowUpdate();
     if (Current.ProgramState == ProgramState.Playing)
     {
         GenUI.RenderMouseoverBracket();
     }
 }
 public static void DrawRoomOverlays()
 {
     if (EnvironmentInspectDrawer.ShouldShow())
     {
         GenUI.RenderMouseoverBracket();
         Room room = UI.MouseCell().GetRoom(Find.VisibleMap, RegionType.Set_All);
         if (room != null && room.Role != RoomRoleDefOf.None)
         {
             room.DrawFieldEdges();
         }
     }
 }
 public static void DrawRoomOverlays()
 {
     if (Find.PlaySettings.showBeauty && UI.MouseCell().InBounds(Find.CurrentMap))
     {
         GenUI.RenderMouseoverBracket();
     }
     if (ShouldShowWindowNow() && ShouldShowRoomStats())
     {
         Room room = UI.MouseCell().GetRoom(Find.CurrentMap, RegionType.Set_All);
         if (room != null && room.Role != RoomRoleDefOf.None)
         {
             room.DrawFieldEdges();
         }
     }
 }