aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Server/Server.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalevalapokalypsi/Server/Server.scala')
-rw-r--r--src/scalevalapokalypsi/Server/Server.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/scalevalapokalypsi/Server/Server.scala b/src/scalevalapokalypsi/Server/Server.scala
index 13ca2f5..f18d5c0 100644
--- a/src/scalevalapokalypsi/Server/Server.scala
+++ b/src/scalevalapokalypsi/Server/Server.scala
@@ -3,15 +3,15 @@ package scalevalapokalypsi.Server
// TODO: TLS/SSL / import javax.net.ssl.SSLServerSocketFactory
-import java.lang.Thread.{currentThread, sleep}
-import java.io.IOException
-import java.net.{ServerSocket, Socket}
+import scalevalapokalypsi.Model.Adventure
+import scalevalapokalypsi.Model.Entities.Player
import scalevalapokalypsi.constants.*
-import scalevalapokalypsi.Model.{Adventure,Entity,Player}
import scalevalapokalypsi.utils.stringToByteArray
+import java.io.IOException
import java.lang.System.currentTimeMillis
-import scala.util.Try
+import java.lang.Thread.sleep
+import java.net.{ServerSocket, Socket}
/** `Server` exists to initialize a server for the game