#74 Territory displays also Production value

closed
nobody
None
5
2009-02-02
2006-09-17
Wanderhirn
No

Hi,
as i testet the new map of middle earth, i realized, i
couldn´t the produrction value of the "gap of rohan",
because of the black saruman sign. When i searched for
the value, i saw it in the "status bar" at the bottom
of the screen, but not where i missed it in the
territory field.
Could we also put it in the territory field please ?

Discussion

  • Chris McIntosh

    Chris McIntosh - 2009-02-01

    The following patch adds the production value to the Territory Detail Pane.

    Index: TerritoryDetailPanel.java

    --- TerritoryDetailPanel.java (revision 2293)
    +++ TerritoryDetailPanel.java (working copy)
    @@ -104,6 +104,13 @@

    add(new JLabel(territory.getName()));

    + // Add Production count for territory to panel.
    + TerritoryAttachment ta = TerritoryAttachment.get(territory);
    + if (ta != null)
    + {
    + add(new JLabel("Production: " + ta.getProduction()));
    + }
    +
    add(m_showOdds);

    Collection<Unit> unitsInTerritory;

     
  • Sean Bridges

    Sean Bridges - 2009-02-02

    There was a patch to do this, but I didn't like it as the panel is already pretty messy. Marking as rejected.

     
  • Sean Bridges

    Sean Bridges - 2009-02-02
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks