bubolo
 All Classes Namespaces Functions Variables Enumerator
Static Public Attributes | List of all members
bubolo.net.NetworkInformation Class Reference

Static Public Attributes

static final int GAME_PORT = 19014
 
static final int TICKS_PER_SECOND = 10
 
static final long MILLIS_PER_TICK = 1000 / TICKS_PER_SECOND
 

Detailed Description

Information about the network.

Author
BU CS673 - Clone Productions

Definition at line 7 of file NetworkInformation.java.

Member Data Documentation

final int bubolo.net.NetworkInformation.GAME_PORT = 19014
static

The port that the game server listens to.

Definition at line 17 of file NetworkInformation.java.

Referenced by bubolo.net.NetworkSystem.connect(), and bubolo.net.NetworkSystem.startServer().

final long bubolo.net.NetworkInformation.MILLIS_PER_TICK = 1000 / TICKS_PER_SECOND
static

The number of milliseconds per network tick. This is calculated by dividing the number of milliseconds in a second by the TICKS_PER_SECOND value.

Definition at line 28 of file NetworkInformation.java.

Referenced by bubolo.net.NetworkSystem.update().

final int bubolo.net.NetworkInformation.TICKS_PER_SECOND = 10
static

The number of network ticks per second.

Definition at line 22 of file NetworkInformation.java.