public class AIConfig extends Object
Constructor and Description |
---|
AIConfig()
Initializes the server config using default values
|
AIConfig(String name,
String serverIP) |
Modifier and Type | Method and Description |
---|---|
int |
getClientID() |
String |
getIP() |
boolean |
getIsConnected() |
boolean |
getIsQueued() |
String |
getName() |
void |
setClientID(int clientID) |
void |
setConnected(boolean isConnected) |
void |
setIP(String serverIP) |
void |
setName(String name) |
void |
setQueued(boolean isQueued) |
public String getName()
public void setName(String name)
name
- the name the client will enter when trying to join a game.public String getIP()
public void setIP(String serverIP)
serverIP
- the IP of the server the client will try to connect to.public boolean getIsConnected()
public void setConnected(boolean isConnected)
isConnected
- Is the client currently connected to a server?public boolean getIsQueued()
public void setQueued(boolean isQueued)
isQueued
- : Is the client currently queued for a game?public int getClientID()
public void setClientID(int clientID)
clientID
- The ID assigned to this clientCopyright © 2017 smarTen. All rights reserved.