mirror of https://github.com/FreeCol/freecol.git
Javadoc fixes.
This commit is contained in:
parent
010064f103
commit
1f4370067e
|
@ -132,7 +132,7 @@ public class ClientOptions extends OptionGroup {
|
|||
|
||||
/**
|
||||
* Selected tiles always gets centered if this option is enabled (even if
|
||||
* the tile is {@link net.sf.freecol.client.gui.GUI#onScreen(Tile)}).
|
||||
* the tile is on screen.
|
||||
*
|
||||
* @see net.sf.freecol.client.gui.GUI
|
||||
*/
|
||||
|
@ -141,8 +141,7 @@ public class ClientOptions extends OptionGroup {
|
|||
|
||||
/**
|
||||
* If this option is enabled, the display will recenter in order
|
||||
* to display the active unit if it is not
|
||||
* {@link net.sf.freecol.client.gui.GUI#onScreen(Tile)}).
|
||||
* to display the active unit if it is not on screen.
|
||||
*
|
||||
* @see net.sf.freecol.client.gui.GUI
|
||||
*/
|
||||
|
|
|
@ -918,7 +918,6 @@ public final class MapViewer {
|
|||
* Gets the selected tile.
|
||||
*
|
||||
* @return The <code>Tile</code> selected.
|
||||
* @see #setSelectedTile(Tile, boolean)
|
||||
*/
|
||||
Tile getSelectedTile() {
|
||||
return selectedTile;
|
||||
|
@ -1064,12 +1063,8 @@ public final class MapViewer {
|
|||
/**
|
||||
* Sets the active unit.
|
||||
*
|
||||
* Invokes {@link #setSelectedTile(Tile, boolean)} if the selected
|
||||
* tile is another tile than where the <code>activeUnit</code> is located.
|
||||
*
|
||||
* @param activeUnit The new active <code>Unit</code>.
|
||||
* @return True if the focus was set.
|
||||
* @see #setSelectedTile(Tile, boolean)
|
||||
*/
|
||||
boolean setActiveUnit(Unit activeUnit) {
|
||||
// Don't select a unit with zero moves left. -sjm
|
||||
|
|
Loading…
Reference in New Issue