diff options
Diffstat (limited to 'src/scalevalapokalypsi/constants')
-rw-r--r-- | src/scalevalapokalypsi/constants/constants.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scalevalapokalypsi/constants/constants.scala b/src/scalevalapokalypsi/constants/constants.scala index cb08962..7d4e1a6 100644 --- a/src/scalevalapokalypsi/constants/constants.scala +++ b/src/scalevalapokalypsi/constants/constants.scala @@ -9,12 +9,13 @@ val TURN_INDICATOR = ">" val SING_INDICATOR = "~" val ACTION_BLOCKING_INDICATOR='.' val ACTION_NONBLOCKING_INDICATOR='+' +val INITIAL_CONN_TIMEOUT = 5000 // millisec. val LIST_SEPARATOR=";" val PROTOCOL_VERSION_GOOD = "1" val PROTOCOL_VERSION_BAD = "0" -//assert(PROTOCOL_VERSION_BAD.length <= PROTOCOL_VERSION_GOOD.length) +// assert(PROTOCOL_VERSION_BAD.length <= PROTOCOL_VERSION_GOOD.length) enum ServerProtocolState: case WaitingForVersion, WaitingForClientName, WaitingForGameStart, InGame |