us.the.mac.board
Class Board.ServerConnection

java.lang.Object
  extended by us.the.mac.board.Board.ServerConnection
Enclosing class:
Board

public static final class Board.ServerConnection
extends Object


Field Summary
static int BLUE_TOOTH
           
static int NETWORK
           
 
Constructor Summary
Board.ServerConnection()
           
 
Method Summary
 List<Board.Player> getConnectedPlayers()
           
 boolean hasBluetoothOn()
           
 boolean hasNetworkConnection()
           
 void initialize()
           
 void sendCommand(String command)
          Sends a destination square move to an opponent over Bluetooth.
 void showPlayers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLUE_TOOTH

public static final int BLUE_TOOTH
See Also:
Constant Field Values

NETWORK

public static final int NETWORK
See Also:
Constant Field Values
Constructor Detail

Board.ServerConnection

public Board.ServerConnection()
Method Detail

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()