us.the.mac.board
Class Board.ServerConnection
java.lang.Object
us.the.mac.board.Board.ServerConnection
- Enclosing class:
- Board
public static final class Board.ServerConnection
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLUE_TOOTH
public static final int BLUE_TOOTH
- See Also:
- Constant Field Values
NETWORK
public static final int NETWORK
- See Also:
- Constant Field Values
Board.ServerConnection
public Board.ServerConnection()
hasBluetoothOn
public boolean hasBluetoothOn()
hasNetworkConnection
public boolean hasNetworkConnection()
initialize
public void initialize()
sendCommand
public void sendCommand(String command)
- Sends a destination square move to an opponent over Bluetooth.
getConnectedPlayers
public List<Board.Player> getConnectedPlayers()
showPlayers
public void showPlayers()