Package net.sf.freecol.client.gui
Class LoadingSavegameInfo
- java.lang.Object
-
- net.sf.freecol.client.gui.LoadingSavegameInfo
-
public class LoadingSavegameInfo extends java.lang.Object
Used for transferring data for the savegame to be loaded.
-
-
Field Summary
Fields Modifier and Type Field Description private java.net.InetAddress
address
private int
port
private boolean
publicServer
private java.lang.String
serverName
private boolean
singlePlayer
-
Constructor Summary
Constructors Constructor Description LoadingSavegameInfo(boolean singlePlayer, java.net.InetAddress address, int port, java.lang.String serverName, boolean publicServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetAddress
getAddress()
Get the selected address;int
getPort()
Get the selected port number.java.lang.String
getServerName()
Get the specified server name.boolean
isPublicServer()
Is this a public server?boolean
isSinglePlayer()
Is a single player game selected?
-
-
-
Method Detail
-
isSinglePlayer
public boolean isSinglePlayer()
Is a single player game selected?- Returns:
- True if single player is selected.
-
getAddress
public java.net.InetAddress getAddress()
Get the selected address;- Returns:
- The
InetAddress
.
-
getPort
public int getPort()
Get the selected port number.- Returns:
- The port number.
-
getServerName
public java.lang.String getServerName()
Get the specified server name.- Returns:
- The server name.
-
isPublicServer
public boolean isPublicServer()
Is this a public server?- Returns:
- True if this is a public server.
-
-